summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Disable BufferOverflowAfterManyFrees for NetBSDKamil Rytarowski2018-10-301-0/+2
| | | | | | | This test hangs in the i386 mode. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345666 91177308-0d34-0410-b5e6-96231b3b80d8
* Mark breaking asan tests on NetBSDKamil Rytarowski2018-10-306-1/+9
| | | | | | | | | | | | | Failing ones: - coverage-reset - coverage - dlclose-test - interception-in-shared-lib-test - stack-use-after-return - tsd_dtor_leak git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345663 91177308-0d34-0410-b5e6-96231b3b80d8
* [NFC][compiler-rt] Cleanup Implicit Conversion Sanitizer tests to use sized ↵Roman Lebedev2018-10-3015-249/+257
| | | | | | | | | | | | | | | | | | types Summary: As requested by @filcab in https://reviews.llvm.org/D50251#1280267 Reviewers: filcab, vsk, #sanitizers, vitalybuka Reviewed By: filcab, #sanitizers, vitalybuka Subscribers: vitalybuka, kubamracek, dberris, llvm-commits, filcab Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D53869 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345661 91177308-0d34-0410-b5e6-96231b3b80d8
* [compiler-rt][ubsan] Implicit Conversion Sanitizer - integer sign change - ↵Roman Lebedev2018-10-3016-3/+892
| | | | | | | | | | | | | | | | | | | | | | compiler-rt part Summary: This is a compiler-rt part. The clang part is D50250. See [[ https://bugs.llvm.org/show_bug.cgi?id=21530 | PR21530 ]], https://github.com/google/sanitizers/issues/940. Reviewers: vsk, filcab, #sanitizers Reviewed By: filcab, #sanitizers Subscribers: mclow.lists, srhines, kubamracek, dberris, rjmccall, rsmith, llvm-commits, regehr Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D50251 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345659 91177308-0d34-0410-b5e6-96231b3b80d8
* [GCOV] Make test path generic so it passes on all machinesMarco Castelluccio2018-10-301-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345656 91177308-0d34-0410-b5e6-96231b3b80d8
* Switch getline_nohang from XFAIL to UNSUPPORTED for NetBSDKamil Rytarowski2018-10-301-2/+2
| | | | | | | This test sometimes works, usually breaks. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345655 91177308-0d34-0410-b5e6-96231b3b80d8
* Mark vptr-non-unique-typeinfo as a broken test for NetBSD/i386Kamil Rytarowski2018-10-301-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345654 91177308-0d34-0410-b5e6-96231b3b80d8
* Mark breaking sanitizer_common tests on NetBSDKamil Rytarowski2018-10-304-0/+7
| | | | | | | | | | | Set XFAIL with appropriate configuration for: - NetBSD/getgroupmembership - Posix/dedup_token_length_test - Posix/readlinkat - get_module_and_offset_for_pc git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345651 91177308-0d34-0410-b5e6-96231b3b80d8
* [builtins] Re-enable x86-only long double testsReid Kleckner2018-10-302-1/+13
| | | | | | | | | | | | | | | | | | | Summary: In r81552, the HAS_80_BIT_LONG_DOUBLE macro was added to the unit test only version of int_lib.h. One month later in r85260 the duplicate int_lib.h was removed, but the tests still passed because we don't build with -Werror. This is the minimal change to bring it back, and I decided to put the configuration macro next to our 128-bit integer support macro. Reviewers: joerg, compnerd, mstorsjo Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D53838 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345645 91177308-0d34-0410-b5e6-96231b3b80d8
* [CMake] Check -ffreestanding as C not C++ flagPetr Hosek2018-10-301-1/+1
| | | | | | | | | | | When -ffreestanding is used, main() isn't considered special and when compiled as C++ code it'll get mangled which makes the compilation fail since main() will be undefined so this check will never succeed. Differential Revision: https://reviews.llvm.org/D49332 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345632 91177308-0d34-0410-b5e6-96231b3b80d8
* Handle NetBSD alias for pthread_sigmaskKamil Rytarowski2018-10-302-0/+7
| | | | | | | | | | | | | | | | | | | | | Summary: Add a new helper macro TSAN_INTERCEPTOR_NETBSD_ALIAS_THR2 that handles pthread(3)/libc aliases in scenarios when a name in both libraries differs not just in prefix namespace. Handle TSan pthread_sigmask mangling accordingly into __libc_thr_sigsetmask. Reviewers: vitalybuka, joerg Reviewed By: vitalybuka Subscribers: kubamracek, jfb, llvm-commits, #sanitizers, mgorny Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D53863 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345627 91177308-0d34-0410-b5e6-96231b3b80d8
* [GCOV] Add a test for function defined on one line (follow-up of ↵Calixte Denizet2018-10-303-0/+36
| | | | | | | | | | | | | | | | https://reviews.llvm.org/D53600) Summary: Add a test for coverage for function definition like void foo() { }. Reviewers: marco-c Reviewed By: marco-c Subscribers: delcypher, llvm-commits, #sanitizers, sylvestre.ledru Differential Revision: https://reviews.llvm.org/D53601 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345625 91177308-0d34-0410-b5e6-96231b3b80d8
* Cast the return value of _Unwind_GetIP() to uptrKamil Rytarowski2018-10-301-1/+1
| | | | | | | | This is needed for NetBSD to match the expected type in Unwind_GetIP(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345620 91177308-0d34-0410-b5e6-96231b3b80d8
* Mark interception_failure_test with XFAIL for NetBSDKamil Rytarowski2018-10-301-1/+1
| | | | | | | This test breaks also on FreeBSD. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345619 91177308-0d34-0410-b5e6-96231b3b80d8
* Disable ASan test asan_and_llvm_coverage_test for NetBSDKamil Rytarowski2018-10-301-0/+3
| | | | | | | Right now the LLVM profile feature is turned off for this OS. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345600 91177308-0d34-0410-b5e6-96231b3b80d8
* Adapt ASan test heavy_uar_test for NetBSDKamil Rytarowski2018-10-301-2/+2
| | | | | | | | | The stack size is tight for the main thread in multithread environment and follow the FreeBSD approach of reducing stack usage. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345599 91177308-0d34-0410-b5e6-96231b3b80d8
* Mark breaking TSan tests on NetBSD with XFAILKamil Rytarowski2018-10-303-1/+5
| | | | | | | | | | Failing tests: - dtls - ignored-interceptors-mmap - mutex_lock_destroyed git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345595 91177308-0d34-0410-b5e6-96231b3b80d8
* Cleanup includes in sanitizer_platform_limits_netbsd.ccKamil Rytarowski2018-10-301-105/+119
| | | | | | | | | Sort the headers more correctly according to NetBSD style. Prevent in this code part clang-format, as shuffling the order will cause build failures. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345586 91177308-0d34-0410-b5e6-96231b3b80d8
* Regenerate syscall hooks for NetBSD 8.99.25Kamil Rytarowski2018-10-302-45/+39
| | | | | | | | | | | Register new syscall getsockopt2. Drop removed syscalls pmc_get_info and pmc_control. While there address compiler warnings about potentially unused variables. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345582 91177308-0d34-0410-b5e6-96231b3b80d8
* Update generate_netbsd_syscalls.awk for NetBSD 8.99.25Kamil Rytarowski2018-10-301-8/+4
| | | | | | | | | | | Register new syscall getsockopt2. Drop removed syscalls pmc_get_info and pmc_control. While there address compiler warnings about potentially unused variables. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345580 91177308-0d34-0410-b5e6-96231b3b80d8
* Handle pthread_sigmask in DemangleFunctionName()Kamil Rytarowski2018-10-301-0/+2
| | | | | | | Translate __libc_thr_sigsetmask to pthread_sigmask on NetBSD. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345574 91177308-0d34-0410-b5e6-96231b3b80d8
* Drop now hidden ioctl(2) operations for NetBSDKamil Rytarowski2018-10-301-11/+7
| | | | | | | POWER_IOC_GET_TYPE_WITH_LOSSAGE is no longer accessible from userland. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345572 91177308-0d34-0410-b5e6-96231b3b80d8
* Handle NetBSD symbol mangling for tzsetKamil Rytarowski2018-10-301-0/+1
| | | | | | | | | Native code generated on NetBSD mangles tzet to __tzset50. Handle this accordingly in MSan. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345571 91177308-0d34-0410-b5e6-96231b3b80d8
* Handle NetBSD symbol mangling for nanosleep and vforkKamil Rytarowski2018-10-301-0/+2
| | | | | | | | | | | | | | | | | | | | | | Summary: Native code generated on NetBSD mangles: - vfork into __vfork14 - nanosleep into __nanosleep50 Handle this accordingly in TSan. Reviewers: vitalybuka, dvyukov, joerg Reviewed By: vitalybuka Subscribers: kubamracek, llvm-commits, #sanitizers, mgorny Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D53806 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345570 91177308-0d34-0410-b5e6-96231b3b80d8
* [XRay] Migrate FDR runtime to use refactored controllerDean Michael Berris2018-10-303-650/+238
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: This change completes the refactoring of the FDR runtime to support the following: - Generational buffer management. - Centralised and well-tested controller implementation. In this change we've had to: - Greatly simplify the code in xray_fdr_logging.cc to only implement the glue code for calling into the controller. - Implement the custom and typed event logging functions in the FDRLogWriter. - Imbue the `XRAY_NEVER_INSTRUMENT` attribute onto all functions in the controller implementation. Reviewers: mboerger, eizan, jfb Subscribers: jfb, llvm-commits Differential Revision: https://reviews.llvm.org/D53858 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345568 91177308-0d34-0410-b5e6-96231b3b80d8
* [ubsan-minimal] update comments in CMakeLists.txtVitaly Buka2018-10-301-5/+3
| | | | | | | | | | | | | | | | | Summary: Prepend minimal when UBsan is mentioned and delete a dead comment Patch by Igor Sugak Reviewers: eugenis, pcc Reviewed By: eugenis Subscribers: mgorny, llvm-commits, #sanitizers Differential Revision: https://reviews.llvm.org/D53826 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345557 91177308-0d34-0410-b5e6-96231b3b80d8
* [sanitizer] Move interceptor initialization check into real_clock_gettimeVitaly Buka2018-10-302-5/+4
| | | | | | | | | | Reviewers: cryptoad, kubamracek Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D53777 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345556 91177308-0d34-0410-b5e6-96231b3b80d8
* [compiler-rt][builtins] Don't #include CoreFoundation in os_version_check.cErik Pilkington2018-10-291-8/+33
| | | | | | | | | | This breaks some configurations, so just forward declare everything that we need. rdar://35943793 Differential revision: https://reviews.llvm.org/D50269 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345551 91177308-0d34-0410-b5e6-96231b3b80d8
* [builtins] Fix -Wunused-local-typedef warning in compile time assertsReid Kleckner2018-10-291-1/+1
| | | | | | | Use the __attribute__ spellings when compiling with clang-cl so that __attribute__((unused)) expands to something. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345550 91177308-0d34-0410-b5e6-96231b3b80d8
* [CMake] When built with LLVM, not use `-Wl,-z,defs`Petr Hosek2018-10-291-0/+1
| | | | | | | | | | This matches standalone build behavior. PR28681 Differential Revision: https://reviews.llvm.org/D53686 Patch By: tabloid.adroit git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345547 91177308-0d34-0410-b5e6-96231b3b80d8
* Mark test/tsan/getline_nohang as XFAIL for NetBSDKamil Rytarowski2018-10-291-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345493 91177308-0d34-0410-b5e6-96231b3b80d8
* Disable the GNU strerror_r TSan test for NetBSDKamil Rytarowski2018-10-291-5/+3
| | | | | | | | | | Revert older change that was incorrect in this test. It was already reverted in the past after an attempt to port it to Darwin. While there, mark FreeBSD as unsupported as well. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345492 91177308-0d34-0410-b5e6-96231b3b80d8
* Mark test/tsan/ignore_lib5 as unsupported for NetBSDKamil Rytarowski2018-10-291-1/+3
| | | | | | | ReadProcMaps() on NetBSD does not handle >=1MB of memory layout information. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345490 91177308-0d34-0410-b5e6-96231b3b80d8
* [XRay] Guard call to postCurrentThreadFCT()Dean Michael Berris2018-10-291-5/+16
| | | | | | | | | | | | | | | | | | | | | Summary: Some cases where `postCurrentThreadFCT()` are not guarded by our recursion guard. We've observed that sometimes these can lead to deadlocks when some functions (like memcpy()) gets outlined and the version of memcpy is XRay-instrumented, which can be materialised by the compiler in the implementation of lower-level components used by the profiling runtime. This change ensures that all calls to `postCurrentThreadFCT` are guarded by our thread-recursion guard, to prevent deadlocks. Reviewers: mboerger, eizan Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D53805 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345489 91177308-0d34-0410-b5e6-96231b3b80d8
* [XRay] Use more portable control blockDean Michael Berris2018-10-293-60/+75
| | | | | | | | | | | | | | | | | | | | Summary: In D53560, we assumed a specific layout for memory without using an explicit structure. This follow-up change uses more portable layout control by using unions in a struct, and consolidating the memory management code in the buffer queue. We also take the opportunity to improve the documentation on the types and operations, along with simplifying some of the logic in the buffer queue implementation. Reviewers: mboerger, eizan Subscribers: jfb, llvm-commits Differential Revision: https://reviews.llvm.org/D53802 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345485 91177308-0d34-0410-b5e6-96231b3b80d8
* [XRay] Refcount backing store for buffersDean Michael Berris2018-10-282-8/+67
| | | | | | | | | | | | | | | | | | | | Summary: This change implements the ref-counting for backing stores associated with generational buffer management. We do this as an implementation detail of the buffer queue, instead of exposing this to the interface. This change allows us to keep the buffer queue interface and usage model the same. Depends on D53551. Reviewers: mboerger, eizan Subscribers: jfb, llvm-commits Differential Revision: https://reviews.llvm.org/D53560 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345471 91177308-0d34-0410-b5e6-96231b3b80d8
* [XRay] Support generational buffers in FDR controllerDean Michael Berris2018-10-272-41/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: This is an intermediary step in the full support for generational buffer management in the FDR runtime. This change makes the FDR controller aware of the new generation number in the buffers handed out by the BufferQueue type. In the process of making this change, we've realised that the cleanest way of ensuring that the backing store per generation is live while all the threads that need access to it will need reference counting to tie the backing store to the lifetime of all threads that have a handle on buffers associated with the memory. We also learn that we're missing the edge-case in the function exit handler's implementation where the first record being written into the buffer is a function exit, which is caught/fixed by the test for generational buffer management. We still haven't wired the controller into the FDR mode runtime, which will need the reference counting on the backing store implemented to ensure that we're being conservatively thread-safe with this approach. Depends on D52974. Reviewers: mboerger, eizan Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D53551 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345445 91177308-0d34-0410-b5e6-96231b3b80d8
* [sanitizer] Improve macOS version detectionKuba Mracek2018-10-262-21/+30
| | | | | | | | Part of <https://reviews.llvm.org/D48445>. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345406 91177308-0d34-0410-b5e6-96231b3b80d8
* [sanitizer] Fix mallopt test on Android.Evgeniy Stepanov2018-10-261-1/+2
| | | | | | | There is not a single common mallopt option between gnu/linux and android, so simply use a random number there. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345394 91177308-0d34-0410-b5e6-96231b3b80d8
* [sanitizer] Fix mallopt interceptor.Evgeniy Stepanov2018-10-256-5/+14
| | | | | | On error, mallopt is supposed to return 0, not -1. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345323 91177308-0d34-0410-b5e6-96231b3b80d8
* [sanitizer] Avoid calling a nullptr in MonotonicNanoTime if interceptors are ↵Kuba Mracek2018-10-241-2/+5
| | | | | | | | | | | | not yet initialized There's a TSan startup crash on Linux when used in Swift programs, where MonotonicNanoTime will try to call real_clock_gettime and then jump to NULL because interceptors are not yet initialized. This is on Ubuntu 18.04. Looks like TSan's main Initialize() function is called at a point where __progname is already set, but interceptors aren't yet set up. Let's fix this by checking whether interceptors are initialized in MonotonicNanoTime. Differential Revision: https://reviews.llvm.org/D53528 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345174 91177308-0d34-0410-b5e6-96231b3b80d8
* [hwasan] when printing a stack-related bugs, also print stack frame ↵Kostya Serebryany2018-10-244-5/+26
| | | | | | descriptions provided by the compiler git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@345110 91177308-0d34-0410-b5e6-96231b3b80d8
* [hwasan] add stack frame descriptions.Kostya Serebryany2018-10-232-0/+23
| | | | | | | | | | | | | | | | | | | Summary: At compile-time, create an array of {PC,HumanReadableStackFrameDescription} for every function that has an instrumented frame, and pass this array to the run-time at the module-init time. Similar to how we handle pc-table in SanitizerCoverage. The run-time is dummy, will add the actual logic in later commits. Reviewers: morehouse, eugenis Reviewed By: eugenis Subscribers: srhines, llvm-commits, kubamracek Differential Revision: https://reviews.llvm.org/D53227 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@344985 91177308-0d34-0410-b5e6-96231b3b80d8
* [interception] Switch to _type suffix instead of _f, NFC.Kuba Mracek2018-10-222-2/+2
| | | | | | | | | | Some Darwin functions have pairs like dispatch_apply and dispatch_apply_f so the added _f to interceptor types causes a clash. Let's add _type suffix instead. Differential Revision: https://reviews.llvm.org/D53167 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@344954 91177308-0d34-0410-b5e6-96231b3b80d8
* [XRay] Account for virtual memory re-useDean Michael Berris2018-10-221-3/+1
| | | | | | | Change the assumption when releasing memory to a buffer queue that new generations might not be able to re-use the memory mapped addresses. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@344882 91177308-0d34-0410-b5e6-96231b3b80d8
* [XRay][compiler-rt] Generational Buffer ManagementDean Michael Berris2018-10-224-64/+238
| | | | | | | | | | | | | | | | | | | | | | | | Summary: This change updates the buffer queue implementation to support using a generation number to identify the lifetime of buffers. This first part introduces the notion of the generation number, without changing the way we handle the buffers yet. What's missing here is the cleanup of the buffers. Ideally we'll keep the two most recent generations. We need to ensure that before we do any writes to the buffers, that we check the generation number(s) first. Those changes will follow-on from this change. Depends on D52588. Reviewers: mboerger, eizan Subscribers: llvm-commits, jfb Differential Revision: https://reviews.llvm.org/D52974 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@344881 91177308-0d34-0410-b5e6-96231b3b80d8
* [XRay] Handle allocator exhaustion in segmented arrayDean Michael Berris2018-10-223-5/+48
| | | | | | | | | | | | | | | | | Summary: This change allows us to handle allocator exhaustion properly in the segmented array implementation. Before this change, we relied on the caller of the `trim` function to provide a valid number of elements to trim. This change allows us to do the right thing in case the elements to trim is greater than the size of the container. Reviewers: mboerger, eizan Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D53484 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@344880 91177308-0d34-0410-b5e6-96231b3b80d8
* [Sanitizer] openbsd does not have sysctlbyname callDavid Carlier2018-10-212-5/+9
| | | | | | | | | | | | | Enabling only for FreeBSD. Reviewers: krytarowski, vitalybuka Reviewed By: krytarowski Differential Revision: https://reviews.llvm.org/D53413 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@344876 91177308-0d34-0410-b5e6-96231b3b80d8
* [X86][compiler-rt] Add additional CPUs and features to the cpu detection to ↵Craig Topper2018-10-201-35/+78
| | | | | | | | | | | | | | | | match libgcc Summary: This patch adds additional features and cpus from libgcc. Unfortunately we've overflowed the existing 32-bits of features so we had to add a new __cpu_features2 variable to hold the additional bits. This matches libgcc as far as I can tell. Reviewers: echristo Reviewed By: echristo Subscribers: dberris, llvm-commits Differential Revision: https://reviews.llvm.org/D53461 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@344830 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert commit r344670 as the test fails on a bot ↵Douglas Yung2018-10-194-233/+62
| | | | | | http://lab.llvm.org:8011/builders/clang-cmake-armv7-full/builds/2683/. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@344771 91177308-0d34-0410-b5e6-96231b3b80d8