- Sep 13, 2012
-
-
Silviu Baranga authored
llvm-svn: 163804
-
Silviu Baranga authored
llvm-svn: 163803
-
Nadav Rotem authored
by xoring the high-bit. This fails if the source operand is a vector because we need to negate each of the elements in the vector. Fix rdar://12281066 PR13813. llvm-svn: 163802
-
Nadav Rotem authored
llvm-svn: 163801
-
Filipe Cabecinhas authored
llvm-svn: 163800
-
Bill Wendling authored
Use Nick's suggestion of storing a large NULL into the GV instead of memset, which requires TargetData. llvm-svn: 163799
-
NAKAMURA Takumi authored
llvm-svn: 163798
-
Alexey Samsonov authored
llvm-svn: 163797
-
Alexey Samsonov authored
llvm-svn: 163796
-
Alexey Samsonov authored
llvm-svn: 163795
-
Daniel Jasper authored
Review: http://llvm-reviews.chandlerc.com/D39 llvm-svn: 163794
-
Dmitri Gribenko authored
not what most people want -- it starts a new paragraph). llvm-svn: 163793
-
Manuel Klimek authored
llvm-svn: 163792
-
Nadav Rotem authored
Stack Coloring: We have code that checks that all of the uses of allocas are within the lifetime zone. Sometime legitimate usages of allocas are hoisted outside of the lifetime zone. For example, GEPS may calculate the address of a member of an allocated struct. This commit makes sure that we only check (abort regions or assert) for instructions that read and write memory using stack frames directly. Notice that by allowing legitimate usages outside the lifetime zone we also stop checking for instructions which use derivatives of allocas. We will catch less bugs in user code and in the compiler itself. llvm-svn: 163791
-
Dmitri Gribenko authored
* wrap code blocks in \code ... \endcode; * refer to parameter names in paragraphs correctly (\arg is not what most people want -- it starts a new paragraph). llvm-svn: 163790
-
Alexey Samsonov authored
[TSan] Add initial support for buidling ThreadSanitizer runtime library with CMake (currently the only supported platfrom is 64-bit Linux). This patch makes 'clang++ -fthread-sanitizer' work for both clang in the build tree and installed clang llvm-svn: 163789
-
Alexey Samsonov authored
llvm-svn: 163788
-
Dmitri Gribenko authored
llvm-svn: 163787
-
Alexey Samsonov authored
[Sanitizer] don't use -Werror as default compile flag for sanitizer runtimes - people may use too many distinct/old host compilers llvm-svn: 163784
-
Craig Topper authored
llvm-svn: 163783
-
Nick Lewycky authored
llvm-svn: 163782
-
Ted Kremenek authored
passing -fretain-comments-from-system-headers. By default, the compiler no longer parses such documentation comments, as they can result in a noticeable compile time/PCH slowdown. Fixes <rdar://problem/11860820>. llvm-svn: 163778
-
Eric Christopher authored
Patch by Brad Smith. llvm-svn: 163777
-
NAKAMURA Takumi authored
llvm-svn: 163776
-
NAKAMURA Takumi authored
llvm-svn: 163775
-
Craig Topper authored
Add a new compression type to ModRM table that detects when the memory modRM byte represent 8 instructions and the reg modRM byte represents up to 64 instructions. Reduces modRM table from 43k entreis to 25k entries. Based on a patch from Manman Ren. llvm-svn: 163774
-
Greg Clayton authored
llvm-svn: 163773
-
Jordan Rose authored
<rdar://problem/12061922> llvm-svn: 163772
-
Jordan Rose authored
These will warn under -Wformat-non-iso, and will still be rejected outright on other platforms. <rdar://problem/12061922> llvm-svn: 163771
-
Jim Grosbach authored
The assumption that the target address for the relocation will always be sizeof(intptr_t) and will always contain an addend for the relocation value is very wrong. Default to no addend for now. rdar://12157052 llvm-svn: 163765
-
Jim Grosbach authored
When comparing to the macho relocation type enum value, make sure we're only comparing against the bits in the RelType that correspond. llvm-svn: 163764
-
Jim Grosbach authored
llvm-svn: 163763
-
Anna Zaks authored
Thanks Jordan. llvm-svn: 163762
-
Jakob Stoklund Olesen authored
We don't have enough GR64_TC registers when calling a varargs function with 6 arguments. Since %al holds the number of vector registers used, only %r11 is available as a scratch register. This means that addressing modes using both base and index registers can't be folded into TCRETURNmi64. <rdar://problem/12282281> llvm-svn: 163761
-
Ted Kremenek authored
Objective-C related to NSException. Fixes <rdar://problem/12287498> I debated whether or not this logic should be sunk into the CFG itself. It's not clear if we should, as different analyses may wish to have different policies. We can re-evaluate this in the future. llvm-svn: 163760
-
Ted Kremenek authored
in NSException to a helper object in libAnalysis that can also be used by Sema. Not sure if the predicate name 'isImplicitNoReturn' is the best one, but we can massage that later. No functionality change. llvm-svn: 163759
-
Chad Rosier authored
llvm-svn: 163758
-
Bill Wendling authored
This function writes out the current values of the counters and then resets them. This can be used similarly to the __gcov_flush function to sync the counters when need be. For instance, in a situation where the application doesn't exit. <rdar://problem/12185886> llvm-svn: 163757
-
Chad Rosier authored
more robust way to address a few FIXMEs. The initial implementation, r163342, built the IR asm string and then tried to patch things on the fly without enough context. Specifically, it didn't skip mnemonics nor did it track with assembly instruction an expression was related to. The new implementation patches the operands and then builds the final IR string. llvm-svn: 163756
-
Eric Christopher authored
Make clang emit a flag for DW_AT_object_pointer for the artificial args where it should (implicit first arguments). FileCheck-ize a test as well and update tests to take into account the object pointer flag. rdar://9797999 llvm-svn: 163755
-