summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix regression in r154844. If necessary, defer computing adjusted destructorRichard Smith2012-04-215-18/+79
| | | | | | | exception specifications in C++11 until after we've parsed the exception specifications for nested classes. llvm-svn: 155293
* Tidy up. 80 columns and some other spacing issues.Craig Topper2012-04-211-7/+9
| | | | llvm-svn: 155291
* Remove unneeded code.Fariborz Jahanian2012-04-211-1/+1
| | | | llvm-svn: 155290
* Fix serialization of uninstantiated exception specifications. Patch by Li Kan,Richard Smith2012-04-213-0/+23
| | | | | | test by me. llvm-svn: 155289
* Remove unused PointerLikeTypeTraits for IndexListEntry.Benjamin Kramer2012-04-211-13/+0
| | | | | | | | | It set NumLowBitAvailable = 3 which may not be true on all platforms. We only ever use 2 bits (the default) so this assumption can be safely removed Should fix PR12612. llvm-svn: 155288
* llvm/lib/Target: [PR12611] Add "llvm/Support/raw_ostream.h" for Debug build ↵NAKAMURA Takumi2012-04-212-0/+3
| | | | | | | | on MSVC. Thanks to Andy Gibbs, to report the issue. llvm-svn: 155287
* HexagonISelLowering.cpp: Reorder #includes.NAKAMURA Takumi2012-04-211-1/+2
| | | | llvm-svn: 155286
* CMake: Enable LLVM_COMPILER_JOBS on all MS IDEs. We don't support older ↵NAKAMURA Takumi2012-04-211-3/+1
| | | | | | environments than VS9. llvm-svn: 155285
* CMake: Prune redundant LLVM_COMPILER_JOBS from llvm/CMakeLists.txt. ↵NAKAMURA Takumi2012-04-212-9/+2
| | | | | | HandleLLVMOptions.cmake has it. llvm-svn: 155284
* move Signals to .rodataNuno Lopes2012-04-211-1/+1
| | | | llvm-svn: 155283
* move some stuff to .rodataNuno Lopes2012-04-212-2/+2
| | | | llvm-svn: 155282
* HexagonInstPrinter.cpp: Suppress -Wunused-variable warnings with -Asserts.NAKAMURA Takumi2012-04-211-6/+3
| | | | llvm-svn: 155281
* YAMLParser: silence warning about tautological comparison on unsigned-char ↵Benjamin Kramer2012-04-211-1/+1
| | | | | | | | platforms. No functionality change. llvm-svn: 155280
* SemaDeclCXX.cpp: Fix utf8 in comment.NAKAMURA Takumi2012-04-211-1/+1
| | | | llvm-svn: 155279
* clang/test/Rewriter/rewrite-modern-extern-c-func-decl.mm: Mark as ↵NAKAMURA Takumi2012-04-211-0/+3
| | | | | | | | XFAIL:mingw for now, due to predefined __declspec. It could be tweaked to add -triple i686-win32, though. llvm-svn: 155278
* Also highlight the member name.Matt Beaumont-Gay2012-04-211-2/+2
| | | | llvm-svn: 155274
* Bump version to lldb-143.Jason Molenda2012-04-214-18/+18
| | | | llvm-svn: 155272
* Fix test failure.Richard Smith2012-04-211-3/+3
| | | | llvm-svn: 155271
* Remove 'XXXRegisterClass' from tablegen output. Targets should use ↵Craig Topper2012-04-211-3/+0
| | | | | | '&XXXRegClass' instead. llvm-svn: 155270
* When declaring a template, check that the context doesn't already contain aRichard Smith2012-04-212-3/+65
| | | | | | | declaration of the same name. r155187 caused us to miss this if the prior declaration did not declare a type. llvm-svn: 155269
* Fix a QoI bug reported by a user.Matt Beaumont-Gay2012-04-212-2/+12
| | | | | | | | | | | Set the source location for the "member reference base type ... is not a structure or union" diag to point at the operator rather than the member name. If we're giving this diagnostic because of a typo'd '.' in place of a ';' at the end of a line, the caret previously pointed at the identifier on the following line, which isn't as helpful as it could be. Pointing the caret at the '.' makes it more obvious what the problem is. llvm-svn: 155267
* Remove the expectedFailure decorator as the bug has been fixed.Johnny Chen2012-04-211-1/+0
| | | | llvm-svn: 155264
* Link with Foundation whenever -fobjc-link-runtime is used. <rdar://10976177>Bob Wilson2012-04-211-2/+2
| | | | | | | The check for excluding libarclite on i386 MacOSX should not apply to Foundation. llvm-svn: 155263
* Added code to automatically load the libheap.dylib when ptr_refs, cstr_refs ↵Greg Clayton2012-04-212-2/+81
| | | | | | or malloc_info are called. If MallocStackLogging is enabled, then you can now use --stack to dump the backtrace of the code that allocated each malloc block. llvm-svn: 155262
* Method name change to avoid further conflicts when merging from ToT to ↵Johnny Chen2012-04-202-7/+7
| | | | | | branches/lldb-platform-work. llvm-svn: 155260
* ARM: tblgen'erate more NEON two-operand aliases.Jim Grosbach2012-04-201-39/+12
| | | | | | VMUL and VEXT. llvm-svn: 155258
* Fix PR12599.Jakob Stoklund Olesen2012-04-202-1/+75
| | | | | | | | The X86 target is editing the selection DAG while isel is selecting nodes following a topological ordering. When the DAG hacking triggers CSE, nodes can be deleted and bad things happen. llvm-svn: 155257
* Fixed some issues with symbolicating things. Fixed ↵Greg Clayton2012-04-202-12/+10
| | | | | | symbolication.add_module() to not use the resolved_path before we have tried to locate it. Fixed crashlog.locate_module_and_debug_symbols() to return true and false correctly. llvm-svn: 155255
* ARM: tblgen'erate more NEON two-operand aliases.Jim Grosbach2012-04-201-153/+4
| | | | llvm-svn: 155254
* Revert r155241, which is causing some breakage.Bill Wendling2012-04-203-72/+20
| | | | llvm-svn: 155253
* Make ISelPosition a local variable.Jakob Stoklund Olesen2012-04-202-36/+25
| | | | | | | | | Now that multiple DAGUpdateListeners can be active at the same time, ISelPosition can become a local variable in DoInstructionSelection. We simply register an ISelUpdater with CurDAG while ISelPosition exists. llvm-svn: 155249
* Register DAGUpdateListeners with SelectionDAG.Jakob Stoklund Olesen2012-04-208-159/+141
| | | | | | | | | | | | | | | Instead of passing listener pointers to RAUW, let SelectionDAG itself keep a linked list of interested listeners. This makes it possible to have multiple listeners active at once, like RAUWUpdateListener was already doing. It also makes it possible to register listeners up the call stack without controlling all RAUW calls below. DAGUpdateListener uses an RAII pattern to add itself to the SelectionDAG list of active listeners. llvm-svn: 155248
* Extraneous semicolon.Eric Christopher2012-04-201-1/+1
| | | | llvm-svn: 155247
* [libclang] Don't set dylib load address to 0xe000000.Argyrios Kyrtzidis2012-04-202-2/+2
| | | | | | | | | | | | Per Greg Clayton: libclang.dylib is trying to be smart and load itself at a valid address to be able to load faster which would work for 32 bit systems, bit won't make any difference on 64 bit systems. It should either pick a better 64 bit address, or just let itself be loaded at zero. rdar://11159142 llvm-svn: 155246
* objective-c arc: With currnt documentation, Fariborz Jahanian2012-04-202-2/+7
| | | | | | | | objc_returns_inner_pointer attribute can be applied to methods only. Diagnsose otherwise, instead of crashing. // rdar://11253688 llvm-svn: 155245
* [analyzer] Run remove dead bindings right before leaving a function.Anna Zaks2012-04-2016-2848/+4817
| | | | | | | | | | | | | | | | | | | | | This is needed to ensure that we always report issues in the correct function. For example, leaks are identified when we call remove dead bindings. In order to make sure we report a callee's leak in the callee, we have to run the operation in the callee's context. This change required quite a bit of infrastructure work since: - We used to only run remove dead bindings before a given statement; here we need to run it after the last statement in the function. For this, we added additional Program Point and special mode in the SymbolReaper to remove all symbols in context lower than the current one. - The call exit operation turned into a sequence of nodes, which are now guarded by CallExitBegin and CallExitEnd nodes for clarity and convenience. (Sorry for the long diff.) llvm-svn: 155244
* [analyzer] Remove unused method.Anna Zaks2012-04-201-1/+0
| | | | llvm-svn: 155243
* [analyzer] ConstifyAnna Zaks2012-04-201-2/+2
| | | | llvm-svn: 155242
* If we discover all of the named structs in a module, then don't bother toBill Wendling2012-04-203-20/+72
| | | | | | process any more Values. llvm-svn: 155241
* Print <def,read-undef> to avoid confusion.Jakob Stoklund Olesen2012-04-201-1/+5
| | | | | | | | The <undef> flag on a def operand only applies to partial register redefinitions. Only print the flag when relevant, and print it as <def,read-undef> to make it clearer what it means. llvm-svn: 155239
* Make sure the "synchronous breakpoint callbacks" get called before the ↵Jim Ingham2012-04-206-4/+143
| | | | | | | | | | | thread plan logic gets invoked, and if they ask to continue that should short-circuit the thread plans for that thread. Also add a bit more explanation for how this machinery is supposed to work. Also pass eExecutionPolicyOnlyWhenNeeded, not eExecutionPolicyAlways when evaluating the expression for breakpoint conditions. llvm-svn: 155236
* Added TargetRegisterInfo::getRegPressureSetName.Andrew Trick2012-04-201-1/+4
| | | | llvm-svn: 155235
* TableGen'd RegPressure: Added getPressureSetName.Andrew Trick2012-04-201-1/+13
| | | | llvm-svn: 155234
* Added logging so we can see when we are trying to complete a forward type ↵Greg Clayton2012-04-201-0/+38
| | | | | | | | | | | | | | and pull in the world. This is due to a compiler bug we are tracking (<rdar://problem/11291658>) where forward decls to classes and types are not properly scoped in namespaces, which results in the current LLDB looking for a type it will find many times in the accelerator tables, but never match. For example, when debugging with clang we get a forward decl like: class AnalysisResolver; And we will look for it everywhere and find many many matches, but the decl context of those matching DIEs is "clang::AnalysisResolver", so we never match anything, yet we pull in waaayyy too much DWARF in the process. To enable this logging enable the "lookups" category in the "dwarf" log channel: (lldb) log enable dwarf lookups llvm-svn: 155233
* Update doxygen comment to match changes in r155218.Richard Smith2012-04-201-6/+1
| | | | llvm-svn: 155232
* Modify the sh-bang to run out-of-the-box for FreeBSDes.Bill Wendling2012-04-202-2/+2
| | | | llvm-svn: 155230
* New and improved comment.Andrew Trick2012-04-201-1/+1
| | | | llvm-svn: 155229
* SparseSet: Add support for key-derived indexes and arbitrary key types.Andrew Trick2012-04-207-54/+95
| | | | | | | | | | | | | | | | | | | This nicely handles the most common case of virtual register sets, but also handles anticipated cases where we will map pointers to IDs. The goal is not to develop a completely generic SparseSet template. Instead we want to handle the expected uses within llvm without any template antics in the client code. I'm adding a bit of template nastiness here, and some assumption about expected usage in order to make the client code very clean. The expected common uses cases I'm designing for: - integer keys that need to be reindexed, and may map to additional data - densely numbered objects where we want pointer keys because no number->object map exists. llvm-svn: 155227
* misched: initialize BBAndrew Trick2012-04-201-2/+4
| | | | llvm-svn: 155226
* Allow converting MachineBasicBlock::iterator to const_iterator.Andrew Trick2012-04-201-1/+4
| | | | llvm-svn: 155225
OpenPOWER on IntegriCloud