- Jul 20, 2010
-
-
Dan Gohman authored
llvm-svn: 108940
-
Dan Gohman authored
bitcode file, so that two bitcode files where the same metadata kind name happens to have been assigned a different ID can still be linked together. Eliminate the restriction that metadata kind IDs can't be 0. Change MD_dbg from 1 to 0, because we can now, and because it's less mysterious that way. llvm-svn: 108939
-
Matt Fleming authored
handlers. llvm-svn: 108938
-
Chris Lattner authored
llvm-svn: 108937
-
Chris Lattner authored
llvm-svn: 108936
-
Dale Johannesen authored
threshold a bit per experimentation. llvm-svn: 108935
-
Chris Lattner authored
arm explicitly. X86 and ARM are the only two targets that support disassembly, so our explicit list is enough. These other targets weren't getting pulled in anyway though, since there were no references to their symbols. llvm-svn: 108934
-
Chris Lattner authored
enabled. Add direct ARM support. llvm-svn: 108933
-
Owen Anderson authored
Move more functionality from Pass.cpp to PassRegistry.cpp. This global will go away eventually, but for now we still need it around. llvm-svn: 108932
-
Douglas Gregor authored
llvm-svn: 108931
-
Sebastian Redl authored
llvm-svn: 108930
-
Chris Lattner authored
llvm-svn: 108929
-
Matt Fleming authored
llvm-svn: 108928
-
Chris Lattner authored
which generates more efficient and more obviously conformant code. We now test for overflow of the multiply then force the result to -1 if so. On X86, this generates nice code like this: __Z4testl: ## @_Z4testl ## BB#0: ## %entry subl $12, %esp movl $4, %eax mull 16(%esp) testl %edx, %edx movl $-1, %ecx cmovel %eax, %ecx movl %ecx, (%esp) call __Znam addl $12, %esp ret llvm-svn: 108927
-
Eric Christopher authored
llvm-svn: 108926
-
Chris Lattner authored
llvm-svn: 108925
-
Matt Fleming authored
ELF specification. llvm-svn: 108924
-
Bob Wilson authored
llvmCore for the iOS Simulator. llvm-svn: 108922
-
Chris Lattner authored
llvm-svn: 108919
-
Eric Christopher authored
llvm-svn: 108918
-
Fariborz Jahanian authored
Implements radar 8203301. llvm-svn: 108917
-
Devang Patel authored
llvm-svn: 108916
-
rdar://5739832Chris Lattner authored
causing clang to compile this code into something that correctly throws a length error, fixing a potential integer overflow security attack: void *test(long N) { return new int[N]; } int main() { test(1L << 62); } We do this even when exceptions are disabled, because it is better for the code to abort than for the attack to succeed. This is heavily based on a patch that Fariborz wrote. llvm-svn: 108915
-
Dan Gohman authored
replaced with setDebugLoc and getDebugLoc. llvm-svn: 108914
-
Douglas Gregor authored
which is the part of the file that contains all of the initial comments, includes, and preprocessor directives that occur before any of the actual code. Added a new -print-preamble cc1 action that is only used for testing. llvm-svn: 108913
-
Owen Anderson authored
llvm-svn: 108912
-
Dan Gohman authored
avoiding MDNode overhead. llvm-svn: 108911
-
Dan Gohman authored
avoiding MDNode overhead. llvm-svn: 108909
-
Chris Lattner authored
llvm-svn: 108908
-
Ted Kremenek authored
llvm-svn: 108907
-
Ted Kremenek authored
llvm-svn: 108906
-
Ted Kremenek authored
llvm-svn: 108905
-
Ted Kremenek authored
llvm-svn: 108904
-
Ted Kremenek authored
derived 'PrintfConversionSpecifier' from this class. We will do the same for 'ScanfConversionSpecifier'. llvm-svn: 108903
-
Ted Kremenek authored
with analyze_scanf::ConversionSpecifier::Kind. llvm-svn: 108902
-
Ted Kremenek authored
llvm-svn: 108901
-
Ted Kremenek authored
llvm-svn: 108900
-
Ted Kremenek authored
llvm-svn: 108899
-
Ted Kremenek authored
llvm-svn: 108898
-
Ted Kremenek authored
analagous enum in analyze_scanf. This is prep for refactoring the logic for handling ConversionSpecifiers for both scanf and printf. llvm-svn: 108897
-