summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merging r263621:release_38Mohit K. Bhakkad2016-06-015-28/+50
| | | | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r263621 | mohit.bhakkad | 2016-03-16 13:53:10 +0530 (Wed, 16 Mar 2016) | 9 lines [ASAN] Add support for mips/mips64 android Patch by Duane Sand Reviewers: samsonov Subscribers: duanesand, jaydeep, sagar, llvm-commits, filcab. Differential Revision: http://reviews.llvm.org/D17883 ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_38@271372 91177308-0d34-0410-b5e6-96231b3b80d8
* Merging r269882:Sagar Thakur2016-05-254-8/+14
| | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r269882 | slthakur | 2016-05-18 11:39:26 +0530 (Wed, 18 May 2016) | 7 lines [LSAN] Fix test swapcontext.cc on MIPS There is no frame validity check in the slow unwinder like there is in the fast unwinder due to which lsan reports a leak even for heap allocated coroutine in the test swapcontext.cc. Since mips/linux uses slow unwindwer instead of fast unwinder, the test fails for mips/linux. Therefore adding the checks before unwinding fixes the test for mips/linux. Reviewed by aizatsky. Differential: http://reviews.llvm.org/D19961 ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_38@270672 91177308-0d34-0410-b5e6-96231b3b80d8
* Merging r267674:Mohit K. Bhakkad2016-05-251-1/+1
| | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r267674 | mohit.bhakkad | 2016-04-27 11:19:42 +0530 (Wed, 27 Apr 2016) | 7 lines [Compiler-rt][CFI] Enabling CFI for MIPS64 Reviewers: eugenis Subscribers: jaydeep, sagar, Sanitizers Differential Revision: http://reviews.llvm.org/D19531 ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_38@270668 91177308-0d34-0410-b5e6-96231b3b80d8
* Merging r261980:Sagar Thakur2016-05-241-0/+4
| | | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r261980 | slthakur | 2016-02-26 11:26:54 +0530 (Fri, 26 Feb 2016) | 8 lines [MSAN] Fix test SmallPreAllocatedStackThread for MIPS Summary: Msan was intercepting version 2.1 of the pthread_create function which was making it to crash in libc because __pthread_create_2_1 modifies the stack attributes of the thread. Intercepting the correct version fixes the test SmallPreAllocatedStackThread. Reviewers: eugenis, samsonov Subscribers: llvm-commits, mohit.bhakkad, jaydeep Differential: http://reviews.llvm.org/D17603 ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_38@270549 91177308-0d34-0410-b5e6-96231b3b80d8
* Merging r263218:Mohit K. Bhakkad2016-05-231-0/+16
| | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r263218 | mohit.bhakkad | 2016-03-11 16:21:03 +0530 (Fri, 11 Mar 2016) | 7 lines [Sanitizer][MIPS] internal lstat and fstat for mips64 Reviewers: dvyukov Subscribers: jaydeep, sagar, llvm-commits Differential Revision: http://reviews.llvm.org/D18078 ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_38@270407 91177308-0d34-0410-b5e6-96231b3b80d8
* Merging r263001:Mohit K. Bhakkad2016-05-231-1/+1
| | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r263001 | mohit.bhakkad | 2016-03-09 13:30:37 +0530 (Wed, 09 Mar 2016) | 7 lines [DFSan] Fix test_inet_pton for big endian archs Reviewers: samsonov Subscribers: ed, jaydeep, sagar, llvm-commits Differential Revision: http://reviews.llvm.org/D17751 ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_38@270406 91177308-0d34-0410-b5e6-96231b3b80d8
* Merging r262303:Mohit K. Bhakkad2016-05-231-1/+1
| | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r262303 | mohit.bhakkad | 2016-03-01 11:26:33 +0530 (Tue, 01 Mar 2016) | 7 lines [Compiler-rt][MIPS] Correct Dynamic Thread Vector offset for MIPS Reviewers: samsonov Subscribers: dsanders, jaydeep, sagar, llvm-commits Differential Revision: http://reviews.llvm.org/D17703 ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_38@270405 91177308-0d34-0410-b5e6-96231b3b80d8
* Merging r262690:Mohit K. Bhakkad2016-05-231-1/+1
| | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r262690 | mohit.bhakkad | 2016-03-04 11:45:59 +0530 (Fri, 04 Mar 2016) | 7 lines [Compiler-rt][safestack] Enable for MIPS Reviewers: samsonov Subscribers: jaydeep, sagar, llvm-commits Differential Revision: http://reviews.llvm.org/D17846 ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_38@270404 91177308-0d34-0410-b5e6-96231b3b80d8
* Merging r262209:Mohit K. Bhakkad2016-05-231-1/+1
| | | | | | | | | | | ------------------------------------------------------------------------ r262209 | mohit.bhakkad | 2016-02-29 13:52:55 +0530 (Mon, 29 Feb 2016) | 1 line Update the link of issue ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_38@270403 91177308-0d34-0410-b5e6-96231b3b80d8
* Merging r262302:Mohit K. Bhakkad2016-05-231-4/+15
| | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r262302 | mohit.bhakkad | 2016-03-01 11:23:30 +0530 (Tue, 01 Mar 2016) | 7 lines [Compiler-rt][MSan] fix param_tls_limit test for platforms where big arguments are sliced in smaller ones Reviewers: eugenis Subscribers: dsanders, jaydeep, sagar, llvm-commits Differential Revision: http://reviews.llvm.org/D17129 ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_38@270402 91177308-0d34-0410-b5e6-96231b3b80d8
* Merging r261982:Mohit K. Bhakkad2016-05-233-11/+2
| | | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r261982 | mohit.bhakkad | 2016-02-26 12:14:10 +0530 (Fri, 26 Feb 2016) | 8 lines [MSan] Endianness should not matter while printing a byte Reviewers: eugenis Subscribers: jaydeep, sagar, llvm-commits Differential Revision: http://reviews.llvm.org/D17264 Differential Revision: http://reviews.llvm.org/D17563 ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_38@270400 91177308-0d34-0410-b5e6-96231b3b80d8
* Merging r261837:Mohit K. Bhakkad2016-05-231-7/+11
| | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r261837 | mohit.bhakkad | 2016-02-25 13:37:44 +0530 (Thu, 25 Feb 2016) | 7 lines [Compiler-rt][MSan]Fix shmat testcase: Pass SHMLBA-alligned address to shmat Reviewers: samsonov Subscribers: jaydeep, sagar, llvm-commits Differential Revision: http://reviews.llvm.org/D17262 ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_38@270399 91177308-0d34-0410-b5e6-96231b3b80d8
* Merging r261723:Mohit K. Bhakkad2016-05-231-7/+15
| | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r261723 | mohit.bhakkad | 2016-02-24 13:44:41 +0530 (Wed, 24 Feb 2016) | 7 lines [MSan] fix process_vm_readv test: Exit silently if syscall is not implemeted Reviewers: eugenis Subscribers: jaydeep, sagar, llvm-commits Differential Revision: http://reviews.llvm.org/D17560 ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_38@270398 91177308-0d34-0410-b5e6-96231b3b80d8
* Merging r261721:Mohit K. Bhakkad2016-05-231-1/+2
| | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r261721 | mohit.bhakkad | 2016-02-24 12:38:33 +0530 (Wed, 24 Feb 2016) | 7 lines [MSan] Mark dlerror.cc expected failure for MIPS Reviewers: samsonov Subscribers: jaydeep, sagar, llvm-commits, aemerson Differential Revision: http://reviews.llvm.org/D17503 ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_38@270397 91177308-0d34-0410-b5e6-96231b3b80d8
* Merging r261513:Mohit K. Bhakkad2016-05-231-4/+4
| | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r261513 | mohit.bhakkad | 2016-02-22 11:46:28 +0530 (Mon, 22 Feb 2016) | 7 lines [MSan] Make unaligned load/store functions compatible for both endians Reviewers: eugenis Subscribers: jaydeep, sagar, llvm-commits Differential Revision: http://reviews.llvm.org/D17371 ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_38@270396 91177308-0d34-0410-b5e6-96231b3b80d8
* Merging r263199:Daniel Sanders2016-05-221-2/+4
| | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r263199 | mohit.bhakkad | 2016-03-11 05:57:20 +0000 (Fri, 11 Mar 2016) | 7 lines [Compiler-rt] Fix ioctl codes for MIPS in sanitizer_ioctl_test Reviewers: samsonov Subscribers: jaydeep, sagar, llvm-commits Differential Revision: http://reviews.llvm.org/D17985 ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_38@270362 91177308-0d34-0410-b5e6-96231b3b80d8
* Merging r263000:Daniel Sanders2016-05-221-0/+15
| | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r263000 | mohit.bhakkad | 2016-03-09 07:57:20 +0000 (Wed, 09 Mar 2016) | 7 lines [Compiler-rt][MIPS] Defining macros for MIPS archs Reviewers: samsonov Subscribers: filcab, jaydeep, sagar, llvm-commits Differential Revision: http://reviews.llvm.org/D17881 ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_38@270361 91177308-0d34-0410-b5e6-96231b3b80d8
* Merging r262581:Daniel Sanders2016-05-221-0/+5
| | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r262581 | mohit.bhakkad | 2016-03-03 05:05:20 +0000 (Thu, 03 Mar 2016) | 7 lines [LSan] Enable use_registers test for MIPS Reviewers: samsonov Subscribers: jaydeep, sagar, llvm-commits Differential Revision: http://reviews.llvm.org/D17797 ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_38@270360 91177308-0d34-0410-b5e6-96231b3b80d8
* Merging rL260946:Mohit K. Bhakkad2016-05-191-2/+2
| | | | | | | | | | | | | | ----------------------------------------------------------------- [Compiler-rt][MSan][MIPS] Resolve gethostbyname_r_erange for MIPS Reviewers: eugenis, kcc, samsonov Subscribers: jaydeep, sagar, llvm-commits Differential Revision: http://reviews.llvm.org/D17135 ----------------------------------------------------------------- git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_38@270035 91177308-0d34-0410-b5e6-96231b3b80d8
* Merging r261148:Hans Wennborg2016-02-192-4/+4
| | | | | | | | | | | ------------------------------------------------------------------------ r261148 | samsonov | 2016-02-17 12:40:10 -0800 (Wed, 17 Feb 2016) | 1 line [TSan] PR26609: Fix two test cases. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_38@261359 91177308-0d34-0410-b5e6-96231b3b80d8
* Merging r261263:Hans Wennborg2016-02-191-3/+0
| | | | | | | | | | | ------------------------------------------------------------------------ r261263 | rnk | 2016-02-18 13:24:30 -0800 (Thu, 18 Feb 2016) | 1 line Un-XFAIL the last C++ EH test, it was fixed by r261258 ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_38@261283 91177308-0d34-0410-b5e6-96231b3b80d8
* Merging r261193:Hans Wennborg2016-02-181-2/+7
| | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r261193 | hahnfeld | 2016-02-17 23:08:26 -0800 (Wed, 17 Feb 2016) | 6 lines [compiler-rt] Return correct size of struct pthread for glibc-2.12.2 There seems to be a difference between 2.12.1 and 2.12.2 in 64-bit build. Tested on Scientific Linux 6.6, based on RHEL. Differential Revision: http://reviews.llvm.org/D17190 ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_38@261244 91177308-0d34-0410-b5e6-96231b3b80d8
* Merging the tsan parts of r260669 and r261142:Hans Wennborg2016-02-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r260669 | dsanders | 2016-02-12 02:35:53 -0800 (Fri, 12 Feb 2016) | 9 lines [msan+tsan] Bring back the tests that disappeared after r260230 and r259512. The lit test-suite containing the unit tests needs to be explicitly specified as an argument to lit.py since it is no longer discovered when the other tests are run (because they are one directory deeper). dfsan, lsan, and sanitizer_common don't show the same problem. ------------------------------------------------------------------------ ------------------------------------------------------------------------ r261142 | samsonov | 2016-02-17 11:35:51 -0800 (Wed, 17 Feb 2016) | 1 line [tests] Slightly improve a fix in r260669. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_38@261162 91177308-0d34-0410-b5e6-96231b3b80d8
* Merging r261073:Hans Wennborg2016-02-171-2/+2
| | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r261073 | hahnfeld | 2016-02-16 23:12:18 -0800 (Tue, 16 Feb 2016) | 6 lines [compiler-rt][msan] Ensure initialisation before calling __msan_unpoison __msan_unpoison uses intercepted memset which currently leads to a SEGV when linking with libc++ under CentOS 7. Differential Revision: http://reviews.llvm.org/D17263 ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_38@261138 91177308-0d34-0410-b5e6-96231b3b80d8
* Merging r260839:Dimitry Andric2016-02-171-13/+14
| | | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r260839 | dim | 2016-02-14 01:26:32 +0100 (Sun, 14 Feb 2016) | 8 lines Fix lib/tsan/go/buildgo.sh for FreeBSD after r243051. FreeBSD also needs to have sanitizer_linux_libcdep.cc included, otherwise linking will fail with "undefined reference to `__sanitizer::GetRSS()'". While here, tabify the FreeBSD part, similar to the other parts. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_38@261123 91177308-0d34-0410-b5e6-96231b3b80d8
* [mips][msan] Mark fork.cc unsupported to avoid a hang on mips64.Daniel Sanders2016-02-101-0/+5
| | | | | | | | | | | | This also marks 32-bit mips unsupported as a side effect but 32-bit mips does not support msan anyway. A cleaner, more precise fix is under review for the trunk but depends on patches we'd prefer not to merge at this time. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_38@260371 91177308-0d34-0410-b5e6-96231b3b80d8
* Merging r259755:Hans Wennborg2016-02-041-2/+2
| | | | | | | | | | | | | | | ------------------------------------------------------------------------ r259755 | mohit.bhakkad | 2016-02-03 21:28:48 -0800 (Wed, 03 Feb 2016) | 5 lines [TSan] Fix PrintMatchedSuppressions: Read hit count for suppression atomically Reviewers: dvyukov. Subscribers: jaydeep, sagar, dsanders, llvm-commits. Differential Revision: http://reviews.llvm.org/D16845 ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_38@259803 91177308-0d34-0410-b5e6-96231b3b80d8
* Merging r259593:Daniel Sanders2016-02-032-4/+6
| | | | | | | | | | | | | ------------------------------------------------------------------------ r259593 | samsonov | 2016-02-02 22:42:25 +0000 (Tue, 02 Feb 2016) | 3 lines [TSan] Use darwin_filter_host_arch to restrict set of test arch on Mac OS. This also reverts r259577 which was a quick-fix to fix buildbots. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_38@259666 91177308-0d34-0410-b5e6-96231b3b80d8
* Merging r259577:Daniel Sanders2016-02-031-0/+3
| | | | | | | | | | | | | | | ------------------------------------------------------------------------ r259577 | dsanders | 2016-02-02 21:41:17 +0000 (Tue, 02 Feb 2016) | 5 lines [tsan] Disable x86_64h build that was enabled as part of r259542. It fails almost every test on clang-stage1-cmake-RA_check. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_38@259665 91177308-0d34-0410-b5e6-96231b3b80d8
* Merging r259542:Daniel Sanders2016-02-034-13/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r259542 | dsanders | 2016-02-02 18:43:53 +0000 (Tue, 02 Feb 2016) | 24 lines Re-commit r259512: [tsan] Add a libc++ and lit testsuite for each ${TSAN_SUPPORTED_ARCH}. Summary: This is a workaround to a problem in the 3.8 release that affects MIPS and possibly other targets where the default is not supported but a sibling is supported. When TSAN_SUPPORTED_ARCH is not empty, cmake currently attempts to build a tsan'd libcxx as well as test tsan for the default target regardless of whether the default target is supported or not. This causes problems on MIPS32 since tsan is supported for MIPS64 but not MIPS32. This patch causes cmake to only build the libcxx and run the lit test-suite for archictures in ${TSAN_SUPPORTED_ARCH} This re-commit fixes an issue where 'check-tsan' continued to look for the tsan'd libc++ in the directory it used to be built in. Reviewers: hans, samsonov Subscribers: tberghammer, llvm-commits, danalbert, srhines, dvyukov Differential Revision: http://reviews.llvm.org/D16685 ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_38@259664 91177308-0d34-0410-b5e6-96231b3b80d8
* Merging r259493:Daniel Sanders2016-02-032-1/+5
| | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r259493 | dsanders | 2016-02-02 12:55:28 +0000 (Tue, 02 Feb 2016) | 7 lines [compiler-rt] add_custom_libcxx should pass LLVM_PATH and a C++ compiler Reviewers: samsonov Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D16681 ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_38@259661 91177308-0d34-0410-b5e6-96231b3b80d8
* Merging r258916:Hans Wennborg2016-01-274-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r258916 | dsanders | 2016-01-27 01:28:01 -0800 (Wed, 27 Jan 2016) | 20 lines [compiler-rt] list_union() is actually an intersect operation. Rename it. Summary: Given: set(T1 a b c) set(T2 b c d) message("T1=${T1}") message("T2=${T2}") list_union(T3 T1 T2) message("T3=${T3}") cmake emitted: T1=a;b;c T2=b;c;d T3=b;c Reviewers: beanz Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D16580 ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_38@258963 91177308-0d34-0410-b5e6-96231b3b80d8
* Creating release_38 branch off revision 257626Hans Wennborg2016-01-130-0/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_38@257633 91177308-0d34-0410-b5e6-96231b3b80d8
* [WebAssembly] Enable the builtins library for WebAssembly.Dan Gohman2016-01-132-1/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@257619 91177308-0d34-0410-b5e6-96231b3b80d8
* [WebAssembly] clang supports int128_t on wasm32 in addition to wasm64.Dan Gohman2016-01-131-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@257618 91177308-0d34-0410-b5e6-96231b3b80d8
* tsan: check errors in testDmitry Vyukov2016-01-131-13/+28
| | | | | | | | | Somebody reported flakiness of this test. Let's start by checking errors. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@257585 91177308-0d34-0410-b5e6-96231b3b80d8
* [CMake] Adding experimental support for tvOS and watchOSChris Bieneman2016-01-121-53/+87
| | | | | | | | | | | | | | Summary: * Refactored the iOS config-ix.cmake code to be a more compact loop over supported embedded platforms. * Added watchOS and tvOS as experimental platforms, they don't currently build so they are disabled by default Reviewers: zaks.anna, kubabrecka, samsonov Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D16119 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@257544 91177308-0d34-0410-b5e6-96231b3b80d8
* [compiler-rt] [msan] Remove stable-runtime requirement for insertvalue_origin.ccAdhemerval Zanella2016-01-121-1/+0
| | | | | | | | | This patch removes the requirement on stable-runtime on insertvalue_origin.cc testcase, added due a instrumentation failure on aarch64-linux. This is fixed on llvm code by r257375. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@257479 91177308-0d34-0410-b5e6-96231b3b80d8
* [PGO] Add Linux specific test cases for profile runtimeXinliang David Li2016-01-125-0/+149
| | | | | | | | | | (second try with more strict config check) Currently, only gc-sections related tests are added. Gold linker currently is required due to PR19161 of bfd linker. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@257456 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert r257444 : arm build bots failureXinliang David Li2016-01-125-133/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@257446 91177308-0d34-0410-b5e6-96231b3b80d8
* [PGO] Add Linux specific test cases for profile runtimeXinliang David Li2016-01-125-0/+133
| | | | | | | | | Currently, only gc-sections related tests are added. Gold linker currently is required due to PR19161 of bfd linker. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@257444 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix comment of testXinliang David Li2016-01-121-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@257443 91177308-0d34-0410-b5e6-96231b3b80d8
* [libFuzzer] extend the weak memcmp/strcmp/strncmp interceptors to receive ↵Kostya Serebryany2016-01-122-15/+25
| | | | | | the result of the computations. With that, don't do any mutations if memcmp/etc returned 0 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@257423 91177308-0d34-0410-b5e6-96231b3b80d8
* [cfi] Fix __cfi_slowpath and __cfi_check signature.Evgeniy Stepanov2016-01-081-3/+3
| | | | | | The first argument is uint64_t, not uintptr_t. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@257233 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix typo in commentXinliang David Li2016-01-081-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@257232 91177308-0d34-0410-b5e6-96231b3b80d8
* [PGO] Add runtime hook so that IR instrumentation can override versionXinliang David Li2016-01-083-2/+23
| | | | | | | | | | IR level instrumentation needs to override version with variant bits. No change for FE instrumentation is needed. Test case is added to detect version mismatch. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@257230 91177308-0d34-0410-b5e6-96231b3b80d8
* [PGO] Introducing version mask macro/NFC (sync)Xinliang David Li2016-01-081-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@257225 91177308-0d34-0410-b5e6-96231b3b80d8
* [tsan] don't crash on closedir(0)Kostya Serebryany2016-01-082-2/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@257223 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix CMake warning in CFI tests.Evgeniy Stepanov2016-01-081-1/+3
| | | | | | | CFI tests do not require the CFI runtime library on Windows. Do not add "cfi" as a dependency of "check-cfi" in that case. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@257202 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert "Fix CMake warning in CFI tests."Evgeniy Stepanov2016-01-081-1/+1
| | | | | | This is a bit more complex than that. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@257201 91177308-0d34-0410-b5e6-96231b3b80d8