- Nov 13, 2012
-
-
Bill Wendling authored
If we have a type 'int a[1]' and a type 'int b[0]', the generated DWARF is the same for both of them because we use the 'upper_bound' attribute. Instead use the 'count' attrbute, which gives the correct number of elements in the array. <rdar://problem/12566646> llvm-svn: 167806
-
rdar://problem/11814875Enrico Granata authored
If a ValueObjectDynamic has no formatter, try using its static type to figure one out llvm-svn: 167803
-
Eli Friedman authored
PR11777. llvm-svn: 167802
-
Argyrios Kyrtzidis authored
don't recursively continue lexing. This avoids a stack overflow with a sequence of many empty #includes. rdar://11988695 llvm-svn: 167801
-
Argyrios Kyrtzidis authored
llvm-svn: 167800
-
Bill Wendling authored
LTO doesn't generate correct accelerator tables. This is due to the general lack correct of debug info for LTO. Disable it when using LTO. <rdar://problem/12401423> llvm-svn: 167799
-
Richard Smith authored
- In C++11, perform overload resolution over all assignment operators, rather than just looking for copy/move assignment operators. - Clean up after temporaries produced by operator= immediately, rather than accumulating them until the end of the function. llvm-svn: 167798
-
Andrew Trick authored
Block priorities still apply outside loops. llvm-svn: 167793
-
Kaelyn Uhrain authored
llvm-svn: 167791
-
Anna Zaks authored
llvm-svn: 167790
-
Ted Kremenek authored
This code assigned the last created CFGBlock* to the variable 'Block', which is a scratch variable which is null'ed out after a block is completed. By assigning the last created block to 'Block', we start editing a completed block, inserting CFGStmts that should be in another block. This was the case with 'try'. The test case that showed this had a while loop inside a 'try', and the logic before the while loop was being included as part of the "condition block" for the loop. This showed up as a bogus dead store, but could have lots of implications. Turns out this bug was replicated a few times within CFG.cpp, so I went and fixed up those as well. llvm-svn: 167788
-
Shuxin Yang authored
llvm-svn: 167787
-
Nick Lewycky authored
add functions to namespace 'std', also filter out namespaces with '__' anywhere in the name. llvm-svn: 167786
-
Andrew Trick authored
llvm-svn: 167785
-
Hal Finkel authored
This fixes another infinite recursion case when using target costs. We can only replace insert element input chains that are pure (end with inserting into an undef). llvm-svn: 167784
-
Kaelyn Uhrain authored
applied to CXXRecordDecls, where functions with that return type will inherit the warn_unused_result attribute. Also includes a tiny fix (with no discernable behavior change for existing code) to re-sync AttributeDeclKind enum and err_attribute_wrong_decl_type with warn_attribute_wrong_decl_type since the enum is used with both diagnostic messages to chose the correct description. llvm-svn: 167783
-
Jean-Daniel Dupas authored
llvm-svn: 167781
-
Anna Zaks authored
conditions. The adjustment is needed only in case of dynamic dispatch performed by the analyzer - when the runtime declaration is different from the static one. Document this explicitly in the code (by adding a helper). Also, use canonical Decls to avoid matching against the case where the definition is different from found declaration. This fix suppresses the testcase I added in r167762, so add another testcase to make sure we do test commit r167762. llvm-svn: 167780
-
Richard Smith authored
assignment generation. This incidentally avoids reusing the same Expr* across multiple statements in the same object; that was generating slightly broken ASTs, but I couldn't trigger any observable bad behavior, so no test. llvm-svn: 167779
-
Greg Clayton authored
llvm-svn: 167778
-
Eric Christopher authored
llvm-svn: 167777
-
- Nov 12, 2012
-
-
Greg Clayton authored
New compiler warnings caught issues with the m_encoding_uid field that should have been a lldb::user_id_t type, but was a uint32_t a long time ago and never got updated. llvm-svn: 167774
-
Greg Clayton authored
Fixed an error in the ELF parser that was comparing a bool to 4 causing 32 bit ELF relocations to get parsed incorrectly. llvm-svn: 167773
-
Daniel Malea authored
llvm-svn: 167771
-
Daniel Malea authored
llvm-svn: 167770
-
Michael Liao authored
llvm-svn: 167769
-
Daniel Malea authored
Update platform section to mention Linux/FreeBSD local debugging support, and also mention that LLDB builds on Linux with clang and libstdc++/libc++. llvm-svn: 167768
-
Rafael Espindola authored
llvm-svn: 167767
-
David Blaikie authored
Introduces more clear scoping flags & flag combinations which should hopefully be more understandable. llvm-svn: 167766
-
Eric Christopher authored
llvm-svn: 167765
-
Daniel Malea authored
- libstdc++ defines vector::erase(iterator) but not vector::erase(const_iterator) llvm-svn: 167764
-
Bill Wendling authored
llvm-svn: 167763
-
Anna Zaks authored
Suppresses a leak false positive (radar://12663777). In addition, we'll need to rewrite the adjustReturnValue() method not to return UnknownVal by default, but rather assert in cases we cannot handle. To make it possible, we need to correctly handle some of the edge cases we already know about. llvm-svn: 167762
-
Bill Wendling authored
llvm-svn: 167761
-
Chad Rosier authored
llvm-svn: 167760
-
Evan Cheng authored
getNumContainedPasses() used to compute the size of the vector on demand. It is called repeated in loops (such as runOnFunction()) and it can be updated while inside the loop. llvm-svn: 167759
-
Andrew Trick authored
This teaches the register coalescer to be less prone to split critical edges. I am currently benchmarking this with the new (post-coalescer) scheduler. I plan to enable this by default and remove the option as soon as misched is enabled. llvm-svn: 167758
-
Eric Christopher authored
llvm-svn: 167757
-
Richard Smith authored
internal linkage, no uses, trivial construction, and nontrivial destruction were not emitted. llvm-svn: 167756
-
Chad Rosier authored
llvm-svn: 167755
-