- Jun 02, 2011
-
-
Douglas Gregor authored
llvm-svn: 132432
-
Douglas Gregor authored
nested types, from Michael Han! llvm-svn: 132431
-
Johnny Chen authored
to seg fault randomly instead of deterministically. Example: [15:10:43] johnny:/Volumes/data/lldb/svn/trunk/utils/test $ clang -g main.c [15:10:46] johnny:/Volumes/data/lldb/svn/trunk/utils/test $ ./run-until-faulted.py -l $PWD/../../build/Debug/lldb -e a.out lldb command: /Volumes/data/lldb/svn/trunk/utils/test/../../build/Debug/lldb executable: a.out executable options: (lldb) sending 'file a.out' command... file a.out Current executable set to 'a.out' (x86_64). (lldb) sending 'process launch -- ' command... (iteration: 0) process launch -- Process 63630 launched: '/Volumes/data/lldb/svn/trunk/utils/test/a.out' (x86_64) Hello, fault! val=9 Better luck next time! [KProcess 63630 exited with status = 0 (0x00000000) (lldb) sending 'process launch -- ' command... (iteration: 1) process launch -- Process 63633 launched: '/Volumes/data/lldb/svn/trunk/utils/test/a.out' (x86_64) [KProcess 63633 exited with status = 0 (0x00000000) sending 'process launch -- ' command... (iteration: 2) [KHello, fault! val=0 Better luck next time! (lldb) process launch -- Process 63637 launched: '/Volumes/data/lldb/svn/trunk/utils/test/a.out' (x86_64) Hello, fault! val=15 Better luck next time! [KProcess 63637 exited with status = 0 (0x00000000) (lldb) sending 'process launch -- ' command... (iteration: 3) process launch -- Process 63640 launched: '/Volumes/data/lldb/svn/trunk/utils/test/a.out' (x86_64) Hello, fault! val=2 Better luck next time! [KProcess 63640 exited with status = 0 (0x00000000) sending 'process launch -- ' command... (iteration: 4) (lldb) process launch -- Process 63643 launched: '/Volumes/data/lldb/svn/trunk/utils/test/a.out' (x86_64) [KProcess 63643 stopped * thread #1: tid = 0x2d03, 0x0000000100000e93 a.out`main + 99 at main.c:11, stop reason = EXC_BAD_ACCESS (code=1, address=0x0) frame #0: 0x0000000100000e93 a.out`main + 99 at main.c:11 8 u_int32_t val = (arc4random() & 0x0f); 9 printf("val=%u\n", val); 10 if (val == 0x07) // Lucky 7 :-) -> 11 printf("Now segfault %d\n", *null_ptr); 12 else 13 printf("Better luck next time!\n"); 14 } (lldb) * thread #1: tid = 0x2d03, 0x0000000100000e93 a.out`main + 99 at main.c:11, stop reason = EXC_BAD_ACCESS (code=1, address=0x0) frame #0: 0x0000000100000e93 a.out`main + 99 at main.c:11 8 u_int32_t val = (arc4random() & 0x0f); 9 printf("val=%u\n", val); 10 if (val == 0x07) // Lucky 7 :-) -> 11 printf("Now segfault %d\n", *null_ptr); 12 else 13 printf("Better luck next time!\n"); 14 } [KHello, fault! val=7 (lldb) llvm-svn: 132430
-
Devang Patel authored
llvm-svn: 132427
-
- Jun 01, 2011
-
-
Argyrios Kyrtzidis authored
llvm-svn: 132426
-
Rafael Espindola authored
idea at some point to split out the directories where we install our runtime libraries. llvm-svn: 132425
-
-
Ted Kremenek authored
llvm-svn: 132422
-
Howard Hinnant authored
Experimental support for a meaningful __is_swappable<T>::value. This does not appear to be strictly needed for correct functioning of the library. If it causes any problems, I'd rather pull it sooner rather than later. llvm-svn: 132421
-
Eric Christopher authored
types if the vector type is legal. Fixes rdar://9306086 llvm-svn: 132420
-
-
Nadav Rotem authored
the TargetLowering enum. llvm-svn: 132418
-
Johnny Chen authored
the SWIG-generated lldb.py module by adding comments in the post-processed file in order to facilitate reading of the code. llvm-svn: 132417
-
Andrew Trick authored
llvm-svn: 132416
-
Jakob Stoklund Olesen authored
This commit caused regressions in i386 flops-[568], matrix, salsa20, 256.bzip2, and enc-md5. llvm-svn: 132413
-
Johnny Chen authored
llvm-svn: 132412
-
Stuart Hastings authored
rdar://problem/5660695 llvm-svn: 132411
-
Eric Christopher authored
llvm-svn: 132409
-
-
Ted Kremenek authored
llvm-svn: 132407
-
Howard Hinnant authored
Turning on cxx_nullptr exposed a latent bug in is_function, causing nullptr to wrongly classify as a function. Fixed. llvm-svn: 132406
-
Benjamin Kramer authored
Fixes valgrind errors in the CellSPU backend. llvm-svn: 132405
-
Stuart Hastings authored
floating-point comparison, generate a mask of 0s or 1s, and generally DTRT with NaNs. Only profitable when the user wants a materialized 0 or 1 at runtime. rdar://problem/5993888 llvm-svn: 132404
-
Eli Friedman authored
Don't use stdint.h; including it directly is not allowed from LLVM code because it doesn't exist on MSVC. llvm-svn: 132403
-
-
Stuart Hastings authored
valid for x87, re-target to x87. rdar://problem/5993888 llvm-svn: 132401
-
Douglas Gregor authored
constant-expression, and, therefore, an unevaluated operand. Make it so. llvm-svn: 132400
-
-
Jakob Stoklund Olesen authored
Add TargetRegisterInfo::hasSubClassEq and use it to check for compatible register classes instead of trying to list all register classes in X86's getLoadStoreRegOpcode. llvm-svn: 132398
-
Douglas Gregor authored
pointers. Fixes PR10052. llvm-svn: 132397
-
-
Joerg Sonnenberger authored
llvm-svn: 132395
-
Nadav Rotem authored
This patch is another step in the direction of adding vector select. In this patch we add a flag to enable a new type legalization decision - to promote integer elements in vectors. Currently, the rest of the codegen does not support this kind of legalization. This flag will be removed when the transition is complete. llvm-svn: 132394
-
Benjamin Kramer authored
llvm-svn: 132392
-
Benjamin Kramer authored
llvm-svn: 132391
-
Nick Lewycky authored
function might need to clean up its temporaries. Fixes PR10057. llvm-svn: 132390
-
Argyrios Kyrtzidis authored
a file was modified since the time the PCH was created. The parser is not fit to deal with stale PCHs, too many invariants do not hold up. rdar://9530587. llvm-svn: 132389
-
Stuart Hastings authored
patch to TargetLowering.cpp. rdar://problem/5660695 llvm-svn: 132388
-
Francois Pichet authored
llvm-svn: 132387
-
Manuel Klimek authored
Fix broken test on windows. To get operator new working, we need size_t, for which we need to figure out a way to resolve standard include paths in the test. llvm-svn: 132386
-