Ed Maste
96430645eb
Update decorators for tests that still fail with FreeBSD Watchpoint support
...
llvm.org/pr18832
Reported by John Wolfe
llvm-svn: 201418
2014-02-14 14:52:10 +00:00
Alexey Samsonov
9a70077b47
[ASan] Rename asan_runtime_libraries to asan. Re-enable tests on Android.
...
llvm-svn: 201417
2014-02-14 14:45:13 +00:00
Evgeniy Stepanov
cbb2d5eee4
[asan] Disabled one more test on Android.
...
llvm-svn: 201416
2014-02-14 14:37:13 +00:00
Evgeniy Stepanov
44f5d8a49f
[asan] Change stack uar test to not use ulimit.
...
Because of how Android test runner is implemented, ulimit in RUN: line
gets executed on the host machine and does not affect the test.
llvm-svn: 201415
2014-02-14 14:36:42 +00:00
Alexey Samsonov
e6a6183e9b
Move TSan lit-tests under test/tsan
...
llvm-svn: 201414
2014-02-14 14:35:48 +00:00
Alexey Samsonov
9f20d67034
Move ASan lit-tests under test/asan
...
llvm-svn: 201413
2014-02-14 14:06:10 +00:00
Alexey Samsonov
8434e60f7e
Move MSan lit-tests under test/msan
...
llvm-svn: 201412
2014-02-14 13:02:58 +00:00
Evgeniy Stepanov
0de2b9b1e2
[asan] Revert r201402, r201404.
...
Test fails in bootstrap build.
llvm-svn: 201411
2014-02-14 12:37:41 +00:00
Evgeniy Stepanov
a21280307f
[sanitizer] Fix getpwuid_r (and similar) interceptors missing one of the arguments.
...
llvm-svn: 201410
2014-02-14 12:32:15 +00:00
Alexey Samsonov
cf907f4d38
Remove empty directories
...
llvm-svn: 201409
2014-02-14 12:28:05 +00:00
Alexey Samsonov
7eeef85bd4
Move LSan test suite under test/
...
llvm-svn: 201408
2014-02-14 12:26:05 +00:00
Kostya Serebryany
a63632a5c6
[tsan] rudimentary support for deadlock detector in tsan (nothing really works yet except for a single tiny test). Also rename tsan's DeadlockDetector to InternalDeadlockDetector
...
llvm-svn: 201407
2014-02-14 12:20:42 +00:00
Alexey Samsonov
127e93e4dc
Delete LSan unit tests
...
llvm-svn: 201406
2014-02-14 12:13:59 +00:00
Kostya Serebryany
e233d8618d
[sanitizer] add iterators to bit vectors; make bit vector operations use little stack; add common flag 'detect_deadlocks'
...
llvm-svn: 201405
2014-02-14 12:08:23 +00:00
Evgeniy Stepanov
d2821f5af0
[asan] Disable assembly on windows.
...
llvm-svn: 201404
2014-02-14 12:07:22 +00:00
Alexey Samsonov
f6cf6ab53b
Move DFSan test suite under test/
...
llvm-svn: 201403
2014-02-14 12:05:41 +00:00
Evgeniy Stepanov
f335bd9c69
[asan] Added assembly functions for x86/amd64 asan.
...
These are runtime support functions for inline assembly instrumentation.
Patch by Yuri Gorshenin.
llvm-svn: 201402
2014-02-14 11:55:53 +00:00
Alexey Samsonov
ba869e79a0
Move UBSan test suite under test/
...
llvm-svn: 201401
2014-02-14 11:42:22 +00:00
Evgeniy Stepanov
05938a23f5
[sanitizer] Use mmap to zero-fill large shadow regions.
...
This is covered by existing ASan test.
This does not change anything for TSan by default (but provides a flag to
change the threshold size).
Based on a patch by florent.bruneau here:
https://code.google.com/p/address-sanitizer/issues/detail?id=256
llvm-svn: 201400
2014-02-14 11:41:26 +00:00
Alexey Samsonov
81a2b466e9
Move shared configs for lit test suites to test/ and unittests/ directories
...
llvm-svn: 201399
2014-02-14 11:00:07 +00:00
Alexey Samsonov
31eb03f817
Remove empty directory
...
llvm-svn: 201398
2014-02-14 09:50:48 +00:00
Evgeniy Stepanov
fb74ea80dc
[msan] Replicate mmap-below-shadow check in mmap64 interceptor.
...
llvm-svn: 201397
2014-02-14 09:49:29 +00:00
Alexey Samsonov
8c1441f860
Move tests for BlocksRuntime and builtins to corresponding directories under test/
...
llvm-svn: 201396
2014-02-14 09:47:31 +00:00
Kevin Qin
edc95ee196
[AArch64 NEON] Fix a bug to avoid using floating type as condition type in lowering SELECT_CC.
...
llvm-svn: 201395
2014-02-14 09:41:15 +00:00
Evgeniy Stepanov
aa9d74cc5d
[asan] Android test runner for ASan lit tests.
...
This change replaces 32- and 64- bit config.in-s with a single config template
that is used to generate both 32 and 64 bits configs as well as the new
arm-android config. Arm-android config is special because it can run tests on
a remote device over adb (android debug bridge).
We replace %clang with a script that run the compiler, upload the result to
the device, and replaces it with another script. The second script runs the
binary on the device and delivers stdout/stderr/exitcode back.
llvm-svn: 201394
2014-02-14 09:22:10 +00:00
Alexey Samsonov
a6b264b51d
Move original compiler-rt functions (libgcc replacement) to lib/builtins directory
...
llvm-svn: 201393
2014-02-14 09:20:33 +00:00
Alexander Potapenko
0b28ea9c47
[libsanitizer] Create SanitizerCommonDecorator which provides the Warning() and EndWarning() methods
...
(needed for SEGV handling in sanitizer_common)
llvm-svn: 201392
2014-02-14 08:59:42 +00:00
Evgeniy Stepanov
7429c5941b
Enable generation of unwind tables when building with sanitizers.
...
llvm-svn: 201391
2014-02-14 08:56:25 +00:00
Alexey Samsonov
b8665226ec
Move BlocksRuntime to lib/ directory
...
llvm-svn: 201390
2014-02-14 08:38:30 +00:00
Eric Christopher
abc621668d
Revert "DebugInfo: Don't include the name of the CU file in the line table file list when it's unneeded"
...
This reverts commit r201380 for now while we investigate.
llvm-svn: 201389
2014-02-14 05:33:16 +00:00
NAKAMURA Takumi
602978ae0e
llvm/test/DebugInfo/empty.ll: Mark it as XFAIL:win32 lacking of line table.
...
llvm-svn: 201388
2014-02-14 05:26:49 +00:00
Jason Molenda
026f389117
Fix minor build warning on Mac OS X x86_64.
...
llvm-svn: 201387
2014-02-14 05:16:17 +00:00
Jason Molenda
a4bea72ee7
Add a new target setting, trap-handler-names, where a user can
...
specify a list of functions which should be treated as trap handlers.
This will be primarily useful to people working in non-user-level
process debugging - kernels and other standalone environments.
For most people, the trap handler functions provided by the Platform
plugin will be sufficient.
<rdar://problem/15835846>, <rdar://problem/15982682>
llvm-svn: 201386
2014-02-14 05:06:49 +00:00
Jiangning Liu
293349e4d7
Enable AArch64 NEON by default.
...
llvm-svn: 201385
2014-02-14 04:38:09 +00:00
Jiangning Liu
b19c5b652e
Enable AArch64 NEON by default.
...
llvm-svn: 201384
2014-02-14 04:37:46 +00:00
NAKAMURA Takumi
b54440f9ed
[PR18809] Remove XFAIL from DebugInfo/empty.ll.
...
I added it in r201211.
llvm-svn: 201383
2014-02-14 03:59:43 +00:00
Hao Liu
7146ef8542
[AArch64]Fix the assertion failure caused by "v1i1 SETCC" DAG node.
...
As v1i1 is illegal, the type legalizer tries to scalarize such node. But if the type operands of SETCC is legal, the scalarization algorithm will cause an assertion failure.
llvm-svn: 201381
2014-02-14 02:21:56 +00:00
David Blaikie
177585d1d9
DebugInfo: Don't include the name of the CU file in the line table file list when it's unneeded
...
Recommitting r201351 and r201355 (reverted in r201351 and r201355)
We weren't emitting the an empty (header only) line table when the line
table was empty - this made the DWARF invalid (the compile unit would
point to the zero-size debug_lines section where there should've been an
empty line table but there was nothing at all). Fix that, and as a
consequence this works around/addresses PR18809.
llvm-svn: 201380
2014-02-14 01:57:59 +00:00
Eric Christopher
0d403d22b0
Add a command line option -gdwarf-aranges that will turn on emitting
...
the dwarf .debug_aranges section.
llvm-svn: 201379
2014-02-14 01:27:03 +00:00
Eric Christopher
02dbadb3a0
Disable emission of aranges by default and add a command line
...
option to enable again that will be matched with a commit to enable
in clang.
llvm-svn: 201378
2014-02-14 01:26:55 +00:00
Juergen Ributzka
b575878145
[X86] Don't mark movabsq as cheap-as-move - it isn't that cheap.
...
A simple register copy on X86 is just 3 bytes, whereas movabsq is a 10 byte
instruction. Marking movabsq as not beeing cheap will allow LICM to move it
out of the loop and it also prevents unnecessary rematerializations if the
value is needed in more than one register.
llvm-svn: 201377
2014-02-14 00:51:13 +00:00
Matt Arsenault
aa689f5079
Do more addrspacecast transforms that happen for bitcast.
...
Makes addrspacecast (gep) do addrspacecast (gep) instead.
llvm-svn: 201376
2014-02-14 00:49:12 +00:00
Adrian Prantl
27edf47bc0
Debug info: Make DWARF4 the default for Darwin, too.
...
llvm-svn: 201375
2014-02-14 00:29:33 +00:00
Juergen Ributzka
d59364086f
Revert "[CMake] Disable libclangTests.exe on win32 for now."
...
Because I also reverted the original commit that required this change.
llvm-svn: 201374
2014-02-13 23:51:55 +00:00
Juergen Ributzka
c67c93d031
Revert "libclang: fix a bug in processing invalid arguments, introduced in r201249,"
...
Reverting commit (201346) for now, because it is breaking our internal builds.
llvm-svn: 201373
2014-02-13 23:34:54 +00:00
Greg Clayton
e98008cc58
Fixed deadlocks that could occur when using python for breakpoints, operating system plugins, and other async python usage.
...
<rdar://problem/16054348>
<rdar://problem/16040833>
llvm-svn: 201372
2014-02-13 23:34:38 +00:00
Tom Stellard
967bf5813f
R600/SI: Expand all v8[if]32 operations
...
llvm-svn: 201371
2014-02-13 23:34:15 +00:00
Tom Stellard
f16d38cbb5
R600/SI: Add a pattern for i32 anyext
...
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
llvm-svn: 201370
2014-02-13 23:34:13 +00:00
Tom Stellard
6c7a7e82a7
R600/SI: Completely Disable TypeRewriter on compute
...
llvm-svn: 201369
2014-02-13 23:34:12 +00:00
Tom Stellard
80be9650e3
R600/SI: Split global vector loads with more than 4 elements
...
llvm-svn: 201368
2014-02-13 23:34:10 +00:00