summaryrefslogtreecommitdiffstats
path: root/compiler-rt
Commit message (Collapse)AuthorAgeFilesLines
* Symbolizer refactoring: Unify access to symbolizer tools from POSIXSymbolizerKuba Brecka2015-03-032-80/+50
| | | | | | Reviewed at http://reviews.llvm.org/D8029 llvm-svn: 231162
* [UBSan] Add testcases for -fsanitize=shift-base and -fsanitize=shift-exponent.Alexey Samsonov2015-03-032-14/+22
| | | | llvm-svn: 231151
* Symbolizer refactoring: Turn FillAddressAndModuleInfo into FillModuleInfoKuba Brecka2015-03-035-12/+7
| | | | | | Reviewed at http://reviews.llvm.org/D8020 llvm-svn: 231061
* [asan] Since x32 has 32-bit pointers, it should use the same code sequence ↵Kostya Serebryany2015-03-031-2/+2
| | | | | | as ia32 for AddressSanitizer asm_flags test. Patch by H.J. Lu llvm-svn: 231052
* Symbolizer refactoring: Make LibbacktraceSymbolizer adopt the SymbolizerTool ↵Kuba Brecka2015-03-023-49/+46
| | | | | | | | interface Reviewed at http://reviews.llvm.org/D7971 llvm-svn: 231032
* Symbolizer refactoring: ExtractToken and friendsKuba Brecka2015-03-025-39/+89
| | | | | | Reviewed at http://reviews.llvm.org/D7867 llvm-svn: 231027
* [Sanitizer] Run test/sanitizer_common lit tests on all supported architectures.Alexey Samsonov2015-03-022-7/+19
| | | | llvm-svn: 231025
* Symbolizer refactoring: Move internals to separate filesKuba Brecka2015-03-027-234/+282
| | | | | | Reviewed at http://reviews.llvm.org/D7972 llvm-svn: 231014
* Allow compiler-rt build on BitrigRenato Golin2015-03-021-2/+2
| | | | | | | | | This is the only patch Bitrig uses for compiler-rt. It adds support for Bitrig/arm in the clear cache code. Patch by Patrick Wildt. llvm-svn: 231012
* [ASan/Win] Work around PR22545: call LLVM global_dtors in the MD atexit()Timur Iskhodzhanov2015-03-025-76/+127
| | | | llvm-svn: 231000
* [MSan] Remove explicit -m64 from RUN lines.Alexey Samsonov2015-03-0279-228/+228
| | | | | | Target-specific flags should usually be configured by CMake/lit. llvm-svn: 230999
* [DFSan] Remove explicit -m64 from RUN lines.Alexey Samsonov2015-03-0210-25/+25
| | | | | | Target-specific flags should usually be configured by CMake/lit. llvm-svn: 230997
* [Sanitizer] Restrict open_memstream to x86_64. Fixes PR22714.Alexey Samsonov2015-03-021-0/+1
| | | | llvm-svn: 230996
* [Sanitizer] Fix StripPathPrefix function and improve test case.Alexey Samsonov2015-03-022-8/+8
| | | | llvm-svn: 230986
* asan: fix windows build after commit 230978Dmitry Vyukov2015-03-022-17/+17
| | | | llvm-svn: 230980
* asan: fix signal handling during stoptheworldDmitry Vyukov2015-03-0212-129/+145
| | | | | | | | | | | The problem is that without SA_RESTORER flag, kernel ignores the handler. So tracer actually did not setup any handler. Add SA_RESTORER flag when setting up handlers. Add a test that causes SIGSEGV in stoptheworld callback. Move SignalContext from asan to sanitizer_common to print better diagnostics about signal in the tracer thread. http://reviews.llvm.org/D8005 llvm-svn: 230978
* [asan] Demote "trying to poison/unpoison memory region" messages...Sergey Matveev2015-03-021-2/+2
| | | | | | ... to verbosity level 3. Because log spam. llvm-svn: 230974
* [ASan/Win] Rename a test.Timur Iskhodzhanov2015-03-021-0/+0
| | | | | | I came up with the original name trying to test a different issue and forgot to rename afterwards llvm-svn: 230961
* Revert r229678 "tsan: fix signal handling during stop-the-world"Hans Wennborg2015-02-282-81/+50
| | | | | | | This was causing Chromium's browser_tests to flakily segfault during leak check. llvm-svn: 230874
* build: remove the stub linux SDKSaleem Abdulrasool2015-02-2815-345/+0
| | | | | | | | The SDK is insufficient to really build much. The builtins can be built standalone now which is what the stub SDK was meant to permit. Remove the unnecessary files. llvm-svn: 230869
* Fix OS X build failure with Command Line Tools and without full Xcode ↵Kuba Brecka2015-02-282-6/+15
| | | | | | | | | | installation On OS X, if you don't have a full Xcode installation, but just the Command Line Tools package, xcrun and xcodebuild don't return a valid SDK root path. In these cases, let's use "/" as the SDK root (which is where the headers and libraries are installed). Reviewed at http://reviews.llvm.org/D7641 llvm-svn: 230847
* Symbolizer refactoring: SymbolizerTool and better interfaceKuba Brecka2015-02-282-60/+87
| | | | | | Reviewed at: http://reviews.llvm.org/D7936 llvm-svn: 230842
* [MIPS] Add missing header for syscallPetar Jovanovic2015-02-281-0/+1
| | | | | | | | | | The syscall function itself is declared in <unistd.h> Compiling compiler-rt with -Werror-implicit-function-declaration will cause a build failure. This change fixes it. Differential Revision: http://reviews.llvm.org/D7949 llvm-svn: 230838
* [ASan] debug_stacks.cc was passing on ARM by accident, disable this test ↵Alexey Samsonov2015-02-281-0/+3
| | | | | | there for now. llvm-svn: 230833
* [ASan/Win] Update test expectations after r230724Timur Iskhodzhanov2015-02-274-4/+4
| | | | llvm-svn: 230755
* [compiler-rt] Symbolizer refactoring: Abstract SymbolizerProcess betterKuba Brecka2015-02-272-43/+38
| | | | | | Reviewed at http://reviews.llvm.org/D7889 llvm-svn: 230749
* [compiler-rt] Allow suppression file to be relative to the location of the ↵Anna Zaks2015-02-277-4/+124
| | | | | | | | | | executable The ASanified executable could be launched from different locations. When we cannot find the suppression file relative to the current directory, try to see if the specified path is relative to the location of the executable. llvm-svn: 230723
* [Sanitizer] Print column number in SUMMARY line if it's available.Alexey Samsonov2015-02-276-30/+32
| | | | llvm-svn: 230721
* [CMake] Effectively revert r230683.Alexey Samsonov2015-02-271-3/+4
| | | | | | | Clang in 32-bit mode may choose to target different architecture than host compiler. llvm-svn: 230709
* [CMake] Make sure we built one variant of i386/i686 runtime libraries.Alexey Samsonov2015-02-263-3/+5
| | | | llvm-svn: 230683
* [UBSan] Run all UBSan tests in 32-bit mode as well.Alexey Samsonov2015-02-264-15/+33
| | | | | | | We build and support UBSan on 32-bit platforms. We should run tests there as well. Fixes PR22683. llvm-svn: 230662
* [msan] Fix MsanTest to pass in track_origins=2 mode.Evgeniy Stepanov2015-02-265-23/+44
| | | | llvm-svn: 230639
* [lsan] Fix indent.Sergey Matveev2015-02-261-2/+2
| | | | llvm-svn: 230633
* LSan: fix a deadlock caused by dl_iterate_phdr().Sergey Matveev2015-02-263-6/+29
| | | | | | | | Wrap the StopTheWorld call in a dl_iterate_phdr() callback. This ensures that no other threads are holding the libdl lock, and we can safely reenter it in the tracer thread. llvm-svn: 230631
* [asan] reenable odr-violation.cc test on non-x86-64 after confirming that ↵Kostya Serebryany2015-02-251-3/+1
| | | | | | it's fixed. PR22699 llvm-svn: 230573
* [CMake] Properly detect whether we're building runtime for i386 or i686.Alexey Samsonov2015-02-251-21/+43
| | | | llvm-svn: 230569
* Fix >80 line after r230530.Kuba Brecka2015-02-251-1/+2
| | | | llvm-svn: 230541
* [asan] restict no_asan_gen_globals.c test to 64-bit due to PR22682Kostya Serebryany2015-02-252-2/+4
| | | | llvm-svn: 230537
* CFI: Add a check-cfi-and-supported rule.Peter Collingbourne2015-02-252-0/+9
| | | | | | | | This rule works like check-cfi, but fails if the tests are unsupported. This is useful to run on bots if we want to be sure that the tests aren't silently being skipped. llvm-svn: 230536
* [compiler-rt] Symbolizer refactoring: Move SymbolizerProcess interface to headerKuba Brecka2015-02-252-183/+194
| | | | | | Reviewed at http://reviews.llvm.org/D7868 llvm-svn: 230530
* [compiler-rt] Symbolizer refactoring: Move string parsing into separate ↵Kuba Brecka2015-02-251-46/+65
| | | | | | | | functions Reviewed at http://reviews.llvm.org/D7869 llvm-svn: 230529
* [asan] temporary disable the test on non-x86-64 while we are investigating ↵Kostya Serebryany2015-02-251-1/+3
| | | | | | PR22699 llvm-svn: 230516
* Address post-commit feedback on r230344: Don't use weak hooks on Sanitizer ↵Timur Iskhodzhanov2015-02-251-1/+1
| | | | | | Go build for Windows llvm-svn: 230507
* Reland r230019 - [ASan] Make the argument of ↵Timur Iskhodzhanov2015-02-252-3/+17
| | | | | | | | '__sanitizer_annotate_contiguous_container' is not aligned error message easier to understand This incorporates the fix for ARM architecture suggested by Renato Golin. llvm-svn: 230506
* Fix duplicate test code introduced by running "patch -p0" twiceTimur Iskhodzhanov2015-02-251-7/+0
| | | | | | | | Sorry, SVN had some weird problems so I had to revert and reapply the patch locally a couple of times and didn't notice I've added file contents to the same file.... llvm-svn: 230505
* Reland r230419 - add __asan_default_suppressions() hook with a fix for WindowsTimur Iskhodzhanov2015-02-253-0/+28
| | | | llvm-svn: 230501
* InstrProf: Fix warnings for mixed declarations and code. NFC.Vasileios Kalintiris2015-02-251-10/+15
| | | | llvm-svn: 230494
* Revert 230419, 230425, 230432.Nico Weber2015-02-253-19/+0
| | | | | | | They don't build on Windows. http://lab.llvm.org:8011/builders/sanitizer-windows/ went red for example. llvm-svn: 230461
* [asan] one more attempt to fix windows buildKostya Serebryany2015-02-251-0/+1
| | | | llvm-svn: 230432
* [asan] attempting to fix the windows build Kostya Serebryany2015-02-251-5/+4
| | | | llvm-svn: 230425
OpenPOWER on IntegriCloud