summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* <rdar://problem/13455021>Greg Clayton2013-05-211-1/+1
| | | | | | lldb crashes with universal file containing skinny BSD archives when doing DWARF with .o file debugging. llvm-svn: 182437
* Fix crash-on-invalid: only use TransformAddressOfOperand when transforming theRichard Smith2013-05-212-1/+15
| | | | | | operand of a unary address-of expression, not for *all* expressions! llvm-svn: 182436
* <rdar://problem/13806954> enable __atomic_* functions for DarwinNick Kledzik2013-05-214-1/+82
| | | | llvm-svn: 182435
* Adding a newline for better overall readabilityEnrico Granata2013-05-211-1/+1
| | | | llvm-svn: 182434
* PR16090: C++1y: treat undeduced 'auto' as a literal type, so that constexprRichard Smith2013-05-212-0/+12
| | | | | | function templates can use it as a return type. llvm-svn: 182433
* PR16094: I should have known Obj-C init-capture disambiguation couldn't beRichard Smith2013-05-214-11/+95
| | | | | | | | | | | | | | | | | | | | | *that* easy... Try a bit harder to disambiguate. This is mostly straightforward, but for =-style initializers, we actually need to know where an expression ends: [foo = bar baz] is a message send, whereas [foo = bar + baz] is a lambda-introducer. Handle this by parsing the expression eagerly, and replacing it with an annotation token. By chance, we use the *exact same* parsing rules in both cases (except that we need to assume we're inside a message send for the parse, to turn off various forms of inapplicable error recovery). llvm-svn: 182432
* Mips16 does not use register scavenger from TargetRegisterInfo. It allocatesReed Kotler2013-05-211-2/+2
| | | | | | | a RegScavenger object on it's own. llvm-svn: 182430
* Quiet the new exec test case down so it doesn't spew debug prints.Greg Clayton2013-05-211-21/+5
| | | | llvm-svn: 182429
* Added a test case that verifies that LLDB can debug across a process ↵Greg Clayton2013-05-218-28/+254
| | | | | | | | exec'ing itself into a new program. This currently is only enabled for Darwin since we exec from 64 bit to 32 bit and vice versa for 'x86_64' targets. This can easily be adapted for linux and other platforms, but I didn't want to break any buildbots by assuming it will work. llvm-svn: 182428
* [lld][ELF] Inline header files into the one file using itShankar Easwaran2013-05-214-182/+130
| | | | llvm-svn: 182427
* [analyzer;alternate edges] prune out extra edges to a subexpression where we ↵Ted Kremenek2013-05-211-4/+46
| | | | | | | | dive-in and out of a subexpression. Fixes <rdar://problem/13941891>. llvm-svn: 182426
* [analyzer; alternated edges] look through expressions just like Environment ↵Ted Kremenek2013-05-211-1/+3
| | | | | | does. llvm-svn: 182425
* Be more specific and capitalize filenames.Eric Christopher2013-05-211-1/+1
| | | | llvm-svn: 182424
* Objective-C arc: don't count use of __weakFariborz Jahanian2013-05-215-6/+27
| | | | | | | variables when they are used in such unevaluated contexts as __typeof, etc. // rdar://13942025 llvm-svn: 182423
* Neglected to remove a debugging comment from last commit.Howard Hinnant2013-05-211-1/+1
| | | | llvm-svn: 182422
* Fix a couple of bugs in linear_congruential_engine::seed. Regression test ↵Howard Hinnant2013-05-212-3/+11
| | | | | | added. llvm-svn: 182421
* Add atomic.c back to the builtins module sources lists (for Makefile build).Daniel Dunbar2013-05-211-6/+1
| | | | llvm-svn: 182420
* Define BYTE_ORDER on Solaris.Jakob Stoklund Olesen2013-05-212-1/+10
| | | | | | | | Solaris doesn't have an endian.h header, but SPARC is the only big-endian architecture that runs Solaris, so just use that to detect endianness at compile time. llvm-svn: 182419
* Put RTDyldMemoryManager into its own file, and make it linked into Filip Pizlo2013-05-217-159/+194
| | | | | | | | | | | | | | | | | | libExecutionEngine. Move method implementations that aren't specific to allocation out of SectionMemoryManager and into RTDyldMemoryManager. This is in preparation for exposing RTDyldMemoryManager through the C API. This is a fixed version of r182407 and r182411. That first revision broke builds because I forgot to move the conditional includes of various POSIX headers from SectionMemoryManager into RTDyldMemoryManager. Those includes are necessary because of how getPointerToNamedFunction works around the glibc libc_nonshared.a thing. The latter revision still broke things because I forgot to include llvm/Config/config.h. llvm-svn: 182418
* Roll out r182411 and 182412 because it's still broken.Filip Pizlo2013-05-217-193/+159
| | | | llvm-svn: 182415
* <rdar://problem/13878726>Enrico Granata2013-05-215-25/+31
| | | | | | | | | | Yet another implementation of the python in dSYM autoload :) This time we are going with a ternary setting: true - load, do not warn false - do not load, do not warn warn - do not load, warn (default) llvm-svn: 182414
* Fix busted comment. This conditional include block used to be in ↵Filip Pizlo2013-05-211-1/+1
| | | | | | SectionMemoryManager, but is now in RTDyldMemoryManager. llvm-svn: 182412
* Put RTDyldMemoryManager into its own file, and make it linked into Filip Pizlo2013-05-217-159/+193
| | | | | | | | | | | | | | | | libExecutionEngine. Move method implementations that aren't specific to allocation out of SectionMemoryManager and into RTDyldMemoryManager. This is in preparation for exposing RTDyldMemoryManager through the C API. This is a fixed version of r182407. That revision broke builds because I forgot to move the conditional includes of various POSIX headers from SectionMemoryManager into RTDyldMemoryManager. Those includes are necessary because of how getPointerToNamedFunction works around the glibc libc_nonshared.a thing. llvm-svn: 182411
* [lld] Update a test file for r180209.Rui Ueyama2013-05-211-0/+0
| | | | | | This binary file is created from shared.c. llvm-svn: 182410
* Roll out r182407 and r182408 because they broke builds.Filip Pizlo2013-05-2112-456/+190
| | | | llvm-svn: 182409
* Expose the RTDyldMemoryManager through the C API. This allows clients of Filip Pizlo2013-05-216-41/+273
| | | | | | | | the C API to provide their own way of allocating JIT memory (both code and data) and finalizing memory permissions (page protections, cache flush). llvm-svn: 182408
* Put RTDyldMemoryManager into its own file, and make it linked into Filip Pizlo2013-05-217-149/+183
| | | | | | | | | | libExecutionEngine. Move method implementations that aren't specific to allocation out of SectionMemoryManager and into RTDyldMemoryManager. This is in preparation for exposing RTDyldMemoryManager through the C API. llvm-svn: 182407
* Refactor places which perform contextual implicit conversions to go through aRichard Smith2013-05-2110-289/+279
| | | | | | | | | | | | | common function. The C++1y contextual implicit conversion rules themselves are not yet implemented, however. This also fixes a subtle bug where template instantiation context notes were dropped for diagnostics coming from conversions for integral constant expressions -- we were implicitly slicing a SemaDiagnosticBuilder into a DiagnosticBuilder when producing these diagnostics, and losing their context notes in the process. llvm-svn: 182406
* Use std::list so that we have a stable iterator.Rafael Espindola2013-05-212-4/+5
| | | | | | | I will try to avoid creating these std::strings, but for now this gets the tests passing with libc++. llvm-svn: 182405
* Debug Info: Simplify the code changed in r182403 to reduce indent & avoid a ↵David Blaikie2013-05-211-15/+14
| | | | | | duplicate lookup in the insertion case llvm-svn: 182404
* Debug Info: don't bother reinserting elements into maps we just retrieved ↵David Blaikie2013-05-211-5/+6
| | | | | | | | them from (no intended behavior change) llvm-svn: 182403
* Remove duplicated comment.Benjamin Kramer2013-05-211-1/+0
| | | | | | Found by -Wdocumentation. llvm-svn: 182402
* Regenerate configure.Rafael Espindola2013-05-211-1/+1
| | | | llvm-svn: 182401
* Fix whitespaceDavid Blaikie2013-05-211-8/+6
| | | | llvm-svn: 182400
* [lsan] Invoke leak detection with atexit().Sergey Matveev2013-05-214-15/+12
| | | | | | Keeps it consistent between ASan and LSan. llvm-svn: 182399
* <rdar://problem/13925432>Enrico Granata2013-05-211-2/+15
| | | | | | | A user request such as: memory read -fc -s10 -c1 *charPtrPtr would cause us to crash upon trying to read 1 char of size 10 from memory This request is now translated into: memory read -fc -s1 -c10 *charPtrPtr (i.e. read 10 chars of size 1 from memory) which is probably also what the user originally wanted llvm-svn: 182398
* [mips] Rename option to make it compatible with gcc.Akira Hatanaka2013-05-212-2/+2
| | | | llvm-svn: 182397
* [mips] Add instruction selection patterns for blez and bgez.Akira Hatanaka2013-05-214-1/+47
| | | | llvm-svn: 182396
* Fix off-by-one error in clang-format's emacs integration.Daniel Jasper2013-05-211-2/+2
| | | | llvm-svn: 182395
* [NVPTX] Add @llvm.nvvm.sqrt.f() intrinsicJustin Holewinski2013-05-216-0/+33
| | | | llvm-svn: 182394
* Hexagon: SelectionDAG should not use MVT::Other to check the legality of BR_CC.Jyotsna Verma2013-05-211-1/+0
| | | | llvm-svn: 182390
* [asan] Do not invoke LSan hooks unless CAN_SANITIZE_LEAKS.Sergey Matveev2013-05-212-5/+8
| | | | llvm-svn: 182389
* Drop @llvm.annotation and @llvm.ptr.annotation intrinsics during codegen.Justin Holewinski2013-05-214-0/+44
| | | | | | | | | | The intrinsic calls are dropped, but the annotated value is propagated. Fixes PR 15253 Original patch by Zeng Bin! llvm-svn: 182387
* Fix behavior of clang-format's -cursor flag.Daniel Jasper2013-05-211-1/+1
| | | | llvm-svn: 182386
* Fix PPC branch selection for counter-based branchesHal Finkel2013-05-211-3/+9
| | | | | | | | | | | | Although I had added some support for the BDZ/BDNZ branches into the selector (in r158204), I had not correctly adjusted the condition at the top of the loop. As a result, these branches were still essentially unsupported. This fixes PR16086. Unfortunately, any test case would be very large (because it would need to force the loop backedge to exceed the range of the 16-bit immediate). llvm-svn: 182385
* [asan] LSan hooks in asan_rtl.Sergey Matveev2013-05-212-0/+25
| | | | llvm-svn: 182384
* [lsan] Change CMakeLists to build the common LSan module for ASan.Sergey Matveev2013-05-215-17/+46
| | | | | | Also, define CAN_SANITIZE_LEAKS. llvm-svn: 182383
* [MSan] Add empty default blacklist for MSanAlexey Samsonov2013-05-215-2/+15
| | | | llvm-svn: 182382
* [ASan] create default (empty) ASan blacklist file in resource directoryAlexey Samsonov2013-05-215-1/+27
| | | | llvm-svn: 182380
* [asan] LSan hooks in asan_allocator2.ccSergey Matveev2013-05-211-1/+81
| | | | llvm-svn: 182379
OpenPOWER on IntegriCloud