summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [ASan] Link with the dynamic runtime on OS XAlexander Potapenko2013-01-221-4/+2
| | | | | | This patch changes the behavior of the -fsanitize=address flag, making it use the dynamic runtime library (libclang_rt.asan_osx_dynamic.dylib) instead of the static one. It also drops the CoreFoundation dependency, since the dynamic runtime doesn't need it. llvm-svn: 173135
* [ASan] Use dylib interposition to hook memory allocation in the dynamic runtime.Alexander Potapenko2013-01-2212-267/+216
| | | | | | | | This CL drastically simplifies the way we're hooking the memory allocation routines in ASan on Mac by using dylib interposition to replace the main malloc_zone_* functions. This allows us to avoid replacing the default CFAllocator and drop the CF dependency at all. Committing this patch will result in the static runtime being broken. A follow-up CL will switch ASan to use the dynamic runtime library. llvm-svn: 173134
* ASan: simplify build rules for unit testsAlexey Samsonov2013-01-221-17/+19
| | | | llvm-svn: 173133
* ASan: disable flexible mapping and offset on Android. It doesn't work for ↵Alexey Samsonov2013-01-222-3/+5
| | | | | | dynamic ASan runtime there llvm-svn: 173132
* [asan] split asan_test.cc even moreKostya Serebryany2013-01-223-588/+575
| | | | llvm-svn: 173131
* [asan] split asan_test.cc moreKostya Serebryany2013-01-224-225/+257
| | | | llvm-svn: 173130
* [asan] split asan_test.cc to speedup parallel build (most important if ↵Kostya Serebryany2013-01-224-165/+181
| | | | | | building with a debug clang, which takes a couple of minutes on this large file with templates). More splits to follow llvm-svn: 173129
* SparseMultiSet.h: Add suggested parentheses.NAKAMURA Takumi2013-01-221-2/+2
| | | | llvm-svn: 173128
* ADT/SparseMultiSetTest.cpp: Try to appease cygwin-clang (libstdc++-4.5) on ↵NAKAMURA Takumi2013-01-221-2/+2
| | | | | | stage2. [-Wsign-compare] llvm-svn: 173127
* This test is only supposed to test that the objc-arc alias analysisMichael Gottesman2013-01-221-1/+1
| | | | | | | allows for gvn to perform certain optimizations. Thus the runline should only contain -objc-arc-aa, not the full -objc-arc. llvm-svn: 173126
* it looks like g++ 4.7.2 doesnot like bit fields when the type is a ↵Shankar Easwaran2013-01-221-1/+1
| | | | | | enumeration (Throws an error as bit-field with non integral type) llvm-svn: 173125
* libclang: Update comment about USEDLIBS in c-*-test/Makefile.NAKAMURA Takumi2013-01-222-1/+4
| | | | | | "Note that 'USEDLIBS' must include all of the core clang libraries when -static is given to linker on cygming." llvm-svn: 173124
* ErrorOrTest.cpp: Check existence of EXPECT_DEBUG_DEATH. It is not always ↵NAKAMURA Takumi2013-01-221-0/+2
| | | | | | available. llvm-svn: 173123
* Use the correct field to copy/dispose a __block variable.John McCall2013-01-222-14/+90
| | | | | | | | | | | | | | | We were previously hard-coding a particular field index. This was fine before (because we were obviously guaranteed the presence of a copy/dispose member) except for (1) alignment padding and (2) future extensions adding extra members to the header, such as the extended-layout pointer. Note that we only introduce the extended-layout pointer in the presence of structs. (We also seem to be introducing it even in the presence of an all-non-object layout, but that's a different potential issue.) llvm-svn: 173122
* clang/test/Index/comment-to-html-xml-conversion.cpp: Mark this as ↵NAKAMURA Takumi2013-01-221-0/+2
| | | | | | XFAIL:valgrind, for now. Working in progress. llvm-svn: 173121
* [MC/Mach-O] Load commands are supposed to 8-byte aligned on 64-bit.Daniel Dunbar2013-01-222-8/+17
| | | | llvm-svn: 173120
* lldb.thread is not to be used anymoreEnrico Granata2013-01-221-1/+1
| | | | llvm-svn: 173119
* Quick fix to make LLDB TOT work with Clang TOT.Sean Callanan2013-01-221-1/+1
| | | | | | | Avoids an error about an ambiguous constructor call. llvm-svn: 173118
* Add {,ELF,MachO}TargetInfo.Michael J. Spencer2013-01-2214-12/+387
| | | | llvm-svn: 173117
* clang/test: [CMake] check-clang doesn't require llvm-dis any more.NAKAMURA Takumi2013-01-221-1/+1
| | | | llvm-svn: 173116
* clang/test/CodeGen: Nuke llvm's opt and llvm-dis, and FileCheck-ize two ↵NAKAMURA Takumi2013-01-222-8/+14
| | | | | | tests. -O1 is sufficient here. llvm-svn: 173115
* clang/test/CodeGen/2006-01-13-StackSave.c: Nuke llvm's opt and llvm-dis, and ↵NAKAMURA Takumi2013-01-221-2/+2
| | | | | | | | FileCheck-ize. @llvm.stacksave is emitted regardless of "opt -std-compile-opts". We have optimizers' tests in llvm/test/Transforms. llvm-svn: 173114
* clang/test/CodeGen/blocks-seq.c: FileCheck-ize.NAKAMURA Takumi2013-01-221-10/+8
| | | | llvm-svn: 173113
* [CMake] bugpoint-passes should not be built in "all", when LLVM_BUILD_TOOLS ↵NAKAMURA Takumi2013-01-221-0/+4
| | | | | | is OFF. llvm-svn: 173112
* Replacing a "no clue why" comment with the explanation it was demandingEnrico Granata2013-01-221-1/+3
| | | | llvm-svn: 173111
* Remove target triple from an LSR test.Andrew Trick2013-01-221-1/+0
| | | | | | Manish already fixed this test to work with NoTTI. llvm-svn: 173110
* Add a new method that adds the AttributeSet at the given index. No ↵Bill Wendling2013-01-222-10/+14
| | | | | | functional change. llvm-svn: 173109
* Add the attributes that are passed in instead of the ones we're merging into.Bill Wendling2013-01-221-2/+2
| | | | llvm-svn: 173108
* Clear up the documentation for the "container-regs" and "invalidate-regs" ↵Greg Clayton2013-01-211-4/+20
| | | | | | key/value pair responses for qRegisterInfo with examples of single and multiple registers for each. llvm-svn: 173107
* Remove unused method.Bill Wendling2013-01-211-8/+0
| | | | llvm-svn: 173106
* Changed the register number lists for the qRegisterInfo packet response to ↵Greg Clayton2013-01-213-9/+13
| | | | | | be raw hex to match all other register reading and writing APIs. llvm-svn: 173105
* Added all of the 16 and 8 bit register variants for i386.Greg Clayton2013-01-213-96/+174
| | | | | | Modified the ARM register context to invalidate r8 - r14 when the CPSR register is modified. llvm-svn: 173104
* Fix spellingJoel Jones2013-01-211-1/+1
| | | | llvm-svn: 173103
* Updated the LLDB qRegisterInfo documentation to contain information on the ↵Greg Clayton2013-01-211-0/+30
| | | | | | new "invalidate-regs" and "container-regs" keys that can be returned in response to a qRegisterInfo packet. llvm-svn: 173102
* Use AttributeSet instead of Attribute to verify things.Bill Wendling2013-01-211-53/+52
| | | | llvm-svn: 173101
* Remove "incorrect" aligning of trailing comments.Daniel Jasper2013-01-212-4/+26
| | | | | | | | | | | | | | | We used to align trailing comments belong to different things. Before: void f() { // some function.. } int a; // some variable.. After: void f() { // some function.. } int a; // some variable.. llvm-svn: 173100
* Have AttributeSet::getRetAttributes() return an AttributeSet instead of ↵Bill Wendling2013-01-211-3/+4
| | | | | | | | | Attribute. This further restricts the use of the Attribute class to the Attribute family of classes. llvm-svn: 173099
* Have AttributeSet::getRetAttributes() return an AttributeSet instead of ↵Bill Wendling2013-01-215-33/+48
| | | | | | | | | Attribute. This further restricts the use of the Attribute class to the Attribute family of classes. llvm-svn: 173098
* objectiveC: don't warn when in -Wselector mode andFariborz Jahanian2013-01-215-19/+69
| | | | | | | an unimplemented selector is consumed by "respondsToSelector:". // rdar://12938616 llvm-svn: 173097
* <rdar://problem/13020634>Greg Clayton2013-01-216-248/+407
| | | | | | | | | | Fixed the 32, 16, and 8 bit pseudo regs for x86_64 (real reg of "rax" which subvalues "eax", "ax", etc...) to correctly get updated when stepping. Also fixed it so actual registers can specify what other registers must be invalidated when a register is modified. Previously, only pseudo registers could invalidate other registers. Modified the LLDB qRegisterInfo extension to the GDB remote interface to support specifying the containing registers with the new "container-regs" key whose value is a comma separated list of register numbers. Also added a "invalidate-regs" key whose value is also a comma separated list of register numbers. Removed the hack GDBRemoteDynamicRegisterInfo::Addx86_64ConvenienceRegisters() function and modified "debugserver" to specify the registers correctly using the new "container-regs" and "invalidate-regs" keys. llvm-svn: 173096
* Make AttributeSet::getFnAttributes() return an AttributeSet instead of an ↵Bill Wendling2013-01-211-6/+6
| | | | | | | | | Attribute. This is more code to isolate the use of the Attribute class to that of just holding one attribute instead of a collection of attributes. llvm-svn: 173095
* Make AttributeSet::getFnAttributes() return an AttributeSet instead of an ↵Bill Wendling2013-01-216-54/+80
| | | | | | | | | Attribute. This is more code to isolate the use of the Attribute class to that of just holding one attribute instead of a collection of attributes. llvm-svn: 173094
* Transform (sub 0, (zext bool to A)) to (sext bool to A) andPaul Redmond2013-01-214-4/+22
| | | | | | | | | (sub 0, (sext bool to A)) to (zext bool to A). Patch by Muhammad Ahmad Reviewed by Duncan Sands llvm-svn: 173093
* Docs for SparseMultiSetMichael Ilseman2013-01-211-0/+16
| | | | llvm-svn: 173092
* Fix some incorrectly named u10 / lu10 instructions.Richard Osborne2013-01-211-25/+12
| | | | llvm-svn: 173090
* Remove unneeded #include.Jakub Staszak2013-01-211-1/+0
| | | | llvm-svn: 173088
* Remove unused multiclass.Richard Osborne2013-01-211-12/+0
| | | | llvm-svn: 173087
* Add instruction encodings / disassembly support for u6 / lu6 instructions.Richard Osborne2013-01-213-59/+92
| | | | llvm-svn: 173086
* Add instruction encoding / disassembly support for ru6 / lru6 instructions.Richard Osborne2013-01-214-94/+177
| | | | llvm-svn: 173085
* Implement the ATOMIC_*_LOCK_FREE macros.Howard Hinnant2013-01-211-8/+12
| | | | llvm-svn: 173084
OpenPOWER on IntegriCloud