summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* If the headermap maps the filename to a framework include ("Foo.h" -> ↵Argyrios Kyrtzidis2014-02-147-13/+71
| | | | | | | | | | | | | | "Foo/Foo.h"), continue header lookup using the framework include as filename. This allows us to conveniently treat #import "Foo.h" as an implicit module import if we can resolve "Foo/Foo.h" as such. rdar://16042979 llvm-svn: 201419
* Update decorators for tests that still fail with FreeBSD Watchpoint supportEd Maste2014-02-142-2/+2
| | | | | | | | llvm.org/pr18832 Reported by John Wolfe llvm-svn: 201418
* [ASan] Rename asan_runtime_libraries to asan. Re-enable tests on Android.Alexey Samsonov2014-02-146-18/+15
| | | | llvm-svn: 201417
* [asan] Disabled one more test on Android.Evgeniy Stepanov2014-02-141-0/+5
| | | | llvm-svn: 201416
* [asan] Change stack uar test to not use ulimit.Evgeniy Stepanov2014-02-141-3/+12
| | | | | | | 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
* Move TSan lit-tests under test/tsanAlexey Samsonov2014-02-14158-112/+51
| | | | llvm-svn: 201414
* Move ASan lit-tests under test/asanAlexey Samsonov2014-02-14155-113/+80
| | | | llvm-svn: 201413
* Move MSan lit-tests under test/msanAlexey Samsonov2014-02-1490-130/+82
| | | | llvm-svn: 201412
* [asan] Revert r201402, r201404.Evgeniy Stepanov2014-02-144-871/+0
| | | | | | Test fails in bootstrap build. llvm-svn: 201411
* [sanitizer] Fix getpwuid_r (and similar) interceptors missing one of the ↵Evgeniy Stepanov2014-02-142-0/+20
| | | | | | arguments. llvm-svn: 201410
* Remove empty directoriesAlexey Samsonov2014-02-140-0/+0
| | | | llvm-svn: 201409
* Move LSan test suite under test/Alexey Samsonov2014-02-1442-15/+8
| | | | llvm-svn: 201408
* [tsan] rudimentary support for deadlock detector in tsan (nothing really ↵Kostya Serebryany2014-02-147-10/+72
| | | | | | works yet except for a single tiny test). Also rename tsan's DeadlockDetector to InternalDeadlockDetector llvm-svn: 201407
* Delete LSan unit testsAlexey Samsonov2014-02-146-129/+0
| | | | llvm-svn: 201406
* [sanitizer] add iterators to bit vectors; make bit vector operations use ↵Kostya Serebryany2014-02-147-13/+112
| | | | | | little stack; add common flag 'detect_deadlocks' llvm-svn: 201405
* [asan] Disable assembly on windows.Evgeniy Stepanov2014-02-141-3/+5
| | | | llvm-svn: 201404
* Move DFSan test suite under test/Alexey Samsonov2014-02-1415-103/+51
| | | | llvm-svn: 201403
* [asan] Added assembly functions for x86/amd64 asan.Evgeniy Stepanov2014-02-144-0/+869
| | | | | | | | These are runtime support functions for inline assembly instrumentation. Patch by Yuri Gorshenin. llvm-svn: 201402
* Move UBSan test suite under test/Alexey Samsonov2014-02-1436-34/+33
| | | | llvm-svn: 201401
* [sanitizer] Use mmap to zero-fill large shadow regions.Evgeniy Stepanov2014-02-146-9/+86
| | | | | | | | | | 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
* Move shared configs for lit test suites to test/ and unittests/ directoriesAlexey Samsonov2014-02-1421-29/+27
| | | | llvm-svn: 201399
* Remove empty directoryAlexey Samsonov2014-02-140-0/+0
| | | | llvm-svn: 201398
* [msan] Replicate mmap-below-shadow check in mmap64 interceptor.Evgeniy Stepanov2014-02-142-0/+10
| | | | llvm-svn: 201397
* Move tests for BlocksRuntime and builtins to corresponding directories under ↵Alexey Samsonov2014-02-14230-0/+0
| | | | | | test/ llvm-svn: 201396
* [AArch64 NEON] Fix a bug to avoid using floating type as condition type in ↵Kevin Qin2014-02-142-11/+28
| | | | | | lowering SELECT_CC. llvm-svn: 201395
* [asan] Android test runner for ASan lit tests.Evgeniy Stepanov2014-02-149-72/+207
| | | | | | | | | | | | | 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
* Move original compiler-rt functions (libgcc replacement) to lib/builtins ↵Alexey Samsonov2014-02-14240-259/+271
| | | | | | directory llvm-svn: 201393
* [libsanitizer] Create SanitizerCommonDecorator which provides the Warning() ↵Alexander Potapenko2014-02-142-4/+11
| | | | | | | | and EndWarning() methods (needed for SEGV handling in sanitizer_common) llvm-svn: 201392
* Enable generation of unwind tables when building with sanitizers.Evgeniy Stepanov2014-02-143-5/+19
| | | | llvm-svn: 201391
* Move BlocksRuntime to lib/ directoryAlexey Samsonov2014-02-1458-0/+0
| | | | llvm-svn: 201390
* Revert "DebugInfo: Don't include the name of the CU file in the line table ↵Eric Christopher2014-02-144-30/+4
| | | | | | | | file list when it's unneeded" This reverts commit r201380 for now while we investigate. llvm-svn: 201389
* llvm/test/DebugInfo/empty.ll: Mark it as XFAIL:win32 lacking of line table.NAKAMURA Takumi2014-02-141-0/+3
| | | | llvm-svn: 201388
* Fix minor build warning on Mac OS X x86_64.Jason Molenda2014-02-141-1/+1
| | | | llvm-svn: 201387
* Add a new target setting, trap-handler-names, where a user canJason Molenda2014-02-146-28/+110
| | | | | | | | | | | | 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
* Enable AArch64 NEON by default.Jiangning Liu2014-02-141-1/+1
| | | | llvm-svn: 201385
* Enable AArch64 NEON by default.Jiangning Liu2014-02-143-2/+6
| | | | llvm-svn: 201384
* [PR18809] Remove XFAIL from DebugInfo/empty.ll.NAKAMURA Takumi2014-02-141-3/+0
| | | | | | I added it in r201211. llvm-svn: 201383
* [AArch64]Fix the assertion failure caused by "v1i1 SETCC" DAG node.Hao Liu2014-02-142-0/+158
| | | | | | 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
* DebugInfo: Don't include the name of the CU file in the line table file list ↵David Blaikie2014-02-144-4/+30
| | | | | | | | | | | | | | 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
* Add a command line option -gdwarf-aranges that will turn on emittingEric Christopher2014-02-144-1/+15
| | | | | | the dwarf .debug_aranges section. llvm-svn: 201379
* Disable emission of aranges by default and add a command lineEric Christopher2014-02-146-8/+12
| | | | | | | option to enable again that will be matched with a commit to enable in clang. llvm-svn: 201378
* [X86] Don't mark movabsq as cheap-as-move - it isn't that cheap.Juergen Ributzka2014-02-141-3/+5
| | | | | | | | | 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
* Do more addrspacecast transforms that happen for bitcast.Matt Arsenault2014-02-143-8/+82
| | | | | | Makes addrspacecast (gep) do addrspacecast (gep) instead. llvm-svn: 201376
* Debug info: Make DWARF4 the default for Darwin, too.Adrian Prantl2014-02-144-25/+6
| | | | llvm-svn: 201375
* Revert "[CMake] Disable libclangTests.exe on win32 for now."Juergen Ributzka2014-02-131-3/+0
| | | | | | Because I also reverted the original commit that required this change. llvm-svn: 201374
* Revert "libclang: fix a bug in processing invalid arguments, introduced in ↵Juergen Ributzka2014-02-135-57/+11
| | | | | | | | r201249," Reverting commit (201346) for now, because it is breaking our internal builds. llvm-svn: 201373
* Fixed deadlocks that could occur when using python for breakpoints, ↵Greg Clayton2014-02-1310-57/+129
| | | | | | | | | operating system plugins, and other async python usage. <rdar://problem/16054348> <rdar://problem/16040833> llvm-svn: 201372
* R600/SI: Expand all v8[if]32 operationsTom Stellard2014-02-135-17/+95
| | | | llvm-svn: 201371
* R600/SI: Add a pattern for i32 anyextTom Stellard2014-02-132-2/+19
| | | | | Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> llvm-svn: 201370
* R600/SI: Completely Disable TypeRewriter on computeTom Stellard2014-02-132-3/+12
| | | | llvm-svn: 201369
OpenPOWER on IntegriCloud