- Jul 20, 2010
-
-
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
-
Ted Kremenek authored
llvm-svn: 108896
-
Chris Lattner authored
llvm-svn: 108895
-
Chris Lattner authored
llvm-svn: 108893
-
Bruno Cardoso Lopes authored
llvm-svn: 108892
-
Chris Lattner authored
llvm-svn: 108891
-
Chris Lattner authored
llvm-svn: 108890
-
Gabor Greif authored
llvm-svn: 108889
-
Owen Anderson authored
llvm-svn: 108888
-
Chris Lattner authored
llvm-svn: 108887
-
Chris Lattner authored
llvm-svn: 108886
-
Owen Anderson authored
llvm-svn: 108885
-
Chris Lattner authored
like this: void *test(long N) { return new int[N][42][42]; } the loop generates two dead mul instructions: %tmp = load i64* %N.addr ; <i64> [#uses=2] %0 = mul i64 %tmp, 7056 ; <i64> [#uses=1] %1 = mul i64 %tmp, 42 ; <i64> [#uses=1] %2 = mul i64 %1, 42 ; <i64> [#uses=0] %call = call noalias i8* @_Znam(i64 %0) ; <i8*> [#uses=1] The scale of these multiplies is already handled by the typesize stuff. llvm-svn: 108884
-
Eric Christopher authored
llvm-svn: 108883
-
Chris Lattner authored
EmitCXXNewAllocSize. This code uses IRBuilder, which does constant folding already. llvm-svn: 108882
-
Stephen Wilson authored
llvm-svn: 108879
-
Stephen Wilson authored
llvm-svn: 108878
-
Owen Anderson authored
Convert the internal PassRegistrar class into a new, external PassRegistry class. No intended functionality change at this point. llvm-svn: 108877
-