summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add serialization support for ClassScopeFunctionSpecializationDecl.Francois Pichet2011-08-175-1/+62
| | | | llvm-svn: 137799
* Unbork Windows build. Thanks, Francois.Jordy Rose2011-08-171-2/+2
| | | | llvm-svn: 137798
* [python] Add support for CXType to python bindings.Argyrios Kyrtzidis2011-08-172-2/+210
| | | | | | Patch by Anders Waldenborg! llvm-svn: 137797
* [libclang] Make clang_getCursor able to handle locations that point inside ↵Argyrios Kyrtzidis2011-08-173-6/+51
| | | | | | | | | | | | | | | | | macro arguments. e.g. for: \define INVOKE(METHOD, CLASS) [CLASS METHOD] void test2() { INVOKE(meth, MyClass); } Pointing at 'meth' will give a CXCursor_ObjCMessageExpr and pointing at 'MyClass' will give a CXCursor_ObjCClassRef. llvm-svn: 137796
* Make Lexer::GetBeginningOfToken able to handle macro arg expansion locations.Argyrios Kyrtzidis2011-08-171-3/+23
| | | | llvm-svn: 137795
* Introduce SourceManager::getMacroArgExpandedLocation function.Argyrios Kyrtzidis2011-08-172-7/+105
| | | | | | | | | | | | | | | | If we pass it a source location that points inside a function macro argument, the returned location will be the macro location in which the argument was expanded. If a macro argument is used multiple times, the expanded location will be at the first expansion of the argument. e.g. MY_MACRO(foo); ^ Passing a file location pointing at 'foo', will yield a macro location where 'foo' was expanded into. Make SourceManager::getLocation call getMacroArgExpandedLocation as well. llvm-svn: 137794
* Make SourceManager::isBeforeInTranslationUnit handle macro locations correctly.Argyrios Kyrtzidis2011-08-172-9/+23
| | | | llvm-svn: 137793
* [PCH] When writing out ExpansionInfo, make sure we don't lose track if it's ↵Argyrios Kyrtzidis2011-08-171-1/+2
| | | | | | a macro arg expansion or not. llvm-svn: 137792
* Use DynamicLibrary instances as a way to get symbols from a specific ↵Jordy Rose2011-08-173-97/+149
| | | | | | library. Preparation for upcoming (preliminary) support for plugins for the static analyzer. llvm-svn: 137791
* Add "--" before providing the file & command args when launching lldb from ↵Jim Ingham2011-08-171-1/+1
| | | | | | the command line. llvm-svn: 137790
* Better help string for "lldb -- file arg1 arg2..."Jim Ingham2011-08-161-2/+7
| | | | llvm-svn: 137789
* Thumb ADD(immediate) parsing support.Jim Grosbach2011-08-163-4/+21
| | | | llvm-svn: 137788
* Separate out Thumb1 instructions that need an S bit operand from those that ↵Owen Anderson2011-08-162-0/+9
| | | | | | do not, for the purposes of decoding them. llvm-svn: 137787
* An additional atomic test; related to r137662.Eli Friedman2011-08-161-0/+9
| | | | llvm-svn: 137786
* Changes to Python commands:Enrico Granata2011-08-1621-404/+695
| | | | | | | | | | | | - They now have an SBCommandReturnObject instead of an SBStream as third argument - The class CommandObjectPythonFunction has been merged into CommandObjectCommands.cpp - The command to manage them is now: command script with subcommands add, list, delete, clear command alias is returned to its previous functionality - Python commands are now part of an user dictionary, instead of being seen as aliases llvm-svn: 137785
* Document how to pass program args to lldb command-line.Jim Ingham2011-08-161-3/+11
| | | | llvm-svn: 137784
* Bumped Xcode project versions for lldb-73 and debugserver-144.Greg Clayton2011-08-163-22/+22
| | | | llvm-svn: 137782
* Extend the undef ^ undef idiom once more. No testcase: I can't figure out ↵Eli Friedman2011-08-161-4/+5
| | | | | | how to actually trigger the codepath in question at the moment, but it might get exposed in the future. llvm-svn: 137781
* Switch this code to use the more idiomatic 'dyn_cast' pattern.Chandler Carruth2011-08-161-4/+2
| | | | llvm-svn: 137780
* Thumb parsing diagnostics for low-reg requirements on ADD and MOV.Jim Grosbach2011-08-164-15/+48
| | | | llvm-svn: 137779
* Until now all debug info MDNodes referred to a root MDNode, a compile unit. ↵Devang Patel2011-08-169-179/+249
| | | | | | | | This simplified handling of these needs in dwarf writer. However, one side effect of this is that during link time optimization all these MDNodes are _not_ uniqued. In other words there will be N number of MDNodes describing "int", "char" and all other types, which would suddenly grow when each object file starts using libraries like STL. MDNodes graph structure such that compiler unit keeps track of important MDNodes and update dwarf writer to process mdnodes top-down instead of bottom up. llvm-svn: 137778
* A bunch of misc fixes to SCCPSolver::ResolvedUndefsIn, including a fix to stopEli Friedman2011-08-162-40/+129
| | | | | | | | | making random bad assumptions about instructions which are not explicitly listed. Includes fix for rdar://9956541, a version of "undef ^ undef should return 0 because it's easier than arguing with users". llvm-svn: 137777
* Add comment about recent change.Johnny Chen2011-08-161-0/+2
| | | | llvm-svn: 137776
* Remove tests that have been obsoleted or migrated to clang/optimizer tests.Eric Christopher2011-08-1619-499/+0
| | | | llvm-svn: 137775
* Add missing exit for 'case'.Jim Grosbach2011-08-161-0/+1
| | | | llvm-svn: 137774
* Migrate test from llvm/test/FrontendC++.Eric Christopher2011-08-161-0/+42
| | | | llvm-svn: 137773
* Migrate from llvm/test/FrontendC++ and FileCheckize.Eric Christopher2011-08-161-0/+33
| | | | llvm-svn: 137772
* Migrate from llvm/test/FrontendC++.Eric Christopher2011-08-161-0/+17
| | | | llvm-svn: 137771
* Migrate test from llvm/test/FrontendC++ and FileCheckize.Eric Christopher2011-08-161-0/+14
| | | | llvm-svn: 137770
* Migrate test from llvm/test/FrontendC++.Eric Christopher2011-08-161-0/+20
| | | | llvm-svn: 137769
* Migrate from llvm/test/FrontendC++.Eric Christopher2011-08-161-0/+5
| | | | llvm-svn: 137768
* Migrate from llvm/test/FrontendC++.Eric Christopher2011-08-161-0/+86
| | | | llvm-svn: 137767
* Migrate test from llvm/test/FrontendC++.Eric Christopher2011-08-161-0/+18
| | | | llvm-svn: 137766
* Migrate from llvm/test/FrontendC++.Eric Christopher2011-08-161-0/+20
| | | | llvm-svn: 137765
* Migrate varargs.cpp from llvm/test/FrontendC++.Eric Christopher2011-08-161-0/+17
| | | | llvm-svn: 137764
* Migrate weak-external.cpp from llvm/test/FrontendC++.Eric Christopher2011-08-161-0/+19
| | | | llvm-svn: 137763
* Migrate x86-64-abi-sret-vs-2word-struct-param.cpp fromEric Christopher2011-08-161-0/+29
| | | | | | llvm/test/FrontendC++ and FileCheckize. llvm-svn: 137762
* Migrate thunk-linkonce-odr.cpp from llvm/test/FrontendC++.Eric Christopher2011-08-161-0/+33
| | | | llvm-svn: 137761
* [analyzer] teach ExprEngine about loads from static C++ class fields. Fixes ↵Ted Kremenek2011-08-162-1/+35
| | | | | | <rdar://problem/9948787>. llvm-svn: 137760
* Thumb assembly parsing and encoding for ADD(register) instruction.Jim Grosbach2011-08-162-0/+30
| | | | llvm-svn: 137759
* [analyzer] Overhaul of checker registration in preparation for basic plugin ↵Jordy Rose2011-08-1619-419/+402
| | | | | | support. Removes support for checker groups (we can add them back in later if we decide they are still useful), and -analyzer-checker-help output is a little worse for the time being (no packages). llvm-svn: 137758
* The resume instruction may throw. Return 'true' in this case.Bill Wendling2011-08-161-1/+1
| | | | llvm-svn: 137757
* Move some logic into a helper function and expand the commentary.Jim Grosbach2011-08-161-13/+28
| | | | llvm-svn: 137756
* Minor bug in SCCP found by inspection. (I don't think it's possible to hit ↵Eli Friedman2011-08-162-0/+20
| | | | | | this with a normal pass pipeline, but fixing for completeness.) llvm-svn: 137755
* Add testcase for r137746.Jim Grosbach2011-08-161-0/+10
| | | | llvm-svn: 137754
* Robustify test, there is no need to check metadata number which can change.Devang Patel2011-08-161-1/+1
| | | | llvm-svn: 137752
* Increment debug info version to accommodate upcoming change in debug info ↵Devang Patel2011-08-161-1/+2
| | | | | | node structure. llvm-svn: 137751
* Finalize debug info after all deferred globals are emitted.Devang Patel2011-08-161-2/+3
| | | | llvm-svn: 137750
* Comment change.Johnny Chen2011-08-161-0/+1
| | | | llvm-svn: 137749
* Add comment on known restrictions of the current implementation.Johnny Chen2011-08-161-0/+7
| | | | llvm-svn: 137748
OpenPOWER on IntegriCloud