summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2016-12-13[sancov] Disable failing test on SystemZ as wellUlrich Weigand
This doesn't work at all on big-endian systems, even just reading in the magic bytes in the binary .sancov file header gets byte order wrong. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@289539 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-13[sancov] Mark as unstable on ARM, not XFAIL, since it does pass on some configRenato Golin
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@289526 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-13[sanitizers] dso order is random, test shouldnt depend on itMike Aizatsky
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@289516 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-13[sanitizers] powerpc4 is also unsupported platformMike Aizatsky
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@289515 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-13[sanitizers] disabling dso test as well where appropriateMike Aizatsky
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@289508 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-13[sanitizers] trace-pc-guard doesn't work on mac as wellMike Aizatsky
fatal error: error in backend: Global variable '__sancov_gen_' has an invalid section specifier '__sancov_guards': mach-o section specifier requires a segment and section separated by a comma. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@289507 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-13[sanitizers] sancov really works on x86 onlyMike Aizatsky
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@289505 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-12[sancov] __sanitizer_dump_coverage apiMike Aizatsky
Subscribers: kubabrecka, mgorny Differential Revision: https://reviews.llvm.org/D26758 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@289498 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-12[XRay][CMake] Check target for XRay Flight Data RecorderPetr Hosek
This target doesn't currently do anything, but it is required by the runtimes build. Differential Revision: https://reviews.llvm.org/D27640 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@289420 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-11[sanitizer] Handle malloc_destroy_zone() on DarwinKuba Mracek
We currently have a interceptor for malloc_create_zone, which returns a new zone that redirects all the zone requests to our sanitizer zone. However, calling malloc_destroy_zone on that zone will cause libmalloc to print out some warning messages, because the zone is not registered in the list of zones. This patch handles this and adds a testcase for that. Differential Revision: https://reviews.llvm.org/D27083 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@289375 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-09[DFSAN] Another unstable test in AArch64 breaking bots unnecessarilyRenato Golin
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@289253 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-08[asan] Add test which detects bugs undetectable before r288563Vitaly Buka
Reviewers: kcc, eugenis Subscribers: llvm-commits, kubabrecka Differential Revision: https://reviews.llvm.org/D27583 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@289090 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-08[MSAN][MIPS] Fix fork.cc test on MIPSSagar Thakur
Summary: For platforms which support slow unwinder only, we restrict the store context size to 1, basically only storing the current pc. We do this because the slow unwinder which is based on libunwind is not async signal safe and causes random freezes in forking applications as well as in signal handlers. Reviewed by eugenis. Differential: D23107 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@289027 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-07[XRay][AArch64] Disable the unstable test ↵Serge Rogatch
XRay-aarch64-linux::patching-unpatching.cc Summary: The test `XRay-aarch64-linux::patching-unpatching.cc` sometimes passes, sometimes fails on buildbots. This patch disables test `patching-unpatching.cc` for AArch64 targets. Reviewers: rengolin, dberris Subscribers: llvm-commits, iid_iunknown, aemerson Differential Revision: https://reviews.llvm.org/D27528 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@288988 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-07[asan] Disable yet another unstable test under AArch64Renato Golin
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@288953 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-06Replace "|&" with "2>&1 |" to support bash pre-4Evgeniy Stepanov
Summary: Old bash release (3.2) on SLES11 chokes on new redirection shortcut. Patch by Brian Cain. Reviewers: eugenis Subscribers: llvm-commits, kubabrecka Differential Revision: https://reviews.llvm.org/D27443 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@288854 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-06[XRay][compiler-rt] Only add unit tests if we're building XRay.Dean Michael Berris
As constructed before this patch, in case we run into case where we don't actually build the XRay library, we really ought to not be adding the unit test runs. This should fix the bootstrap build failures. This is a follow-up further to D26232. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@288788 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-06[XRay][compiler-rt] CMake fixes for XRay -- take 2.Dean Michael Berris
The bootstrap buildbot complains about not being able to find the unittests for XRay, when the conditionals to include or not include tests and unit tests don't match. This is a follow-up to D26232. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@288786 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-06[XRay][compiler-rt] Fix unit test adding logic.Dean Michael Berris
Before this change we would add the unit tests potentially even if we don't actually include the unit tests. This is a follow-up on D26232. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@288785 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-06[XRay][compiler-rt] XRay Buffer QueueDean Michael Berris
This implements a simple buffer queue to manage a pre-allocated queue of fixed-sized buffers to hold XRay records. We need this to support Flight Data Recorder (FDR) mode. We also implement this as a sub-library first to allow for development before actually using it in an implementation. Some important properties of the buffer queue: - Thread-safe enqueueing/dequeueing of fixed-size buffers. - Pre-allocation of buffers at construction. This is a re-roll of the previous attempt to submit, because it caused failures in arm and aarch64. Reviewers: majnemer, echristo, rSerge Subscribers: tberghammer, danalbert, srhines, modocache, mehdi_amini, mgorny, llvm-commits Differential Revision: https://reviews.llvm.org/D26232 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@288775 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-05[sanitizers] mac prints null differentlyMike Aizatsky
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@288726 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-05[sanitizers] __sanitizer_get_module_and_offset_for_pc interface functionMike Aizatsky
Summary: The function computes full module name and coverts pc into offset. Reviewers: kcc Subscribers: kubabrecka Differential Revision: https://reviews.llvm.org/D26820 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@288711 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-02Revert "Compiler-rt part of D26230: Add (constant) masked load/store support ↵Filipe Cabecinhas
(Try #2)" This reverts commit r288504. clang-bpf-build fails with no details: ******************** TEST 'AddressSanitizer-x86_64-linux :: TestCases/masked-ops.cpp' FAILED ******************** Script: -- /mnt/buildbot/slave-root/clang-bpf-build/stage1/./bin/clang --driver-mode=g++ -fsanitize=address -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -gline-tables-only -m64 -o /mnt/buildbot/slave-root/clang-bpf-build/stage1/projects/compiler-rt/test/asan/X86_64LinuxConfig/TestCases/Output/masked-ops.cpp.tmp /mnt/buildbot/slave-root/clang-bpf-build/llvm/projects/compiler-rt/test/asan/TestCases/masked-ops.cpp -mavx -O1 not /mnt/buildbot/slave-root/clang-bpf-build/stage1/projects/compiler-rt/test/asan/X86_64LinuxConfig/TestCases/Output/masked-ops.cpp.tmp l1 2>&1 | FileCheck -check-prefix=CHECK-L1 /mnt/buildbot/slave-root/clang-bpf-build/llvm/projects/compiler-rt/test/asan/TestCases/masked-ops.cpp /mnt/buildbot/slave-root/clang-bpf-build/stage1/projects/compiler-rt/test/asan/X86_64LinuxConfig/TestCases/Output/masked-ops.cpp.tmp l6 2>&1 | FileCheck -check-prefix=CHECK-L6 /mnt/buildbot/slave-root/clang-bpf-build/llvm/projects/compiler-rt/test/asan/TestCases/masked-ops.cpp /mnt/buildbot/slave-root/clang-bpf-build/stage1/projects/compiler-rt/test/asan/X86_64LinuxConfig/TestCases/Output/masked-ops.cpp.tmp la 2>&1 | FileCheck -check-prefix=CHECK-LA /mnt/buildbot/slave-root/clang-bpf-build/llvm/projects/compiler-rt/test/asan/TestCases/masked-ops.cpp not /mnt/buildbot/slave-root/clang-bpf-build/stage1/projects/compiler-rt/test/asan/X86_64LinuxConfig/TestCases/Output/masked-ops.cpp.tmp s1 2>&1 | FileCheck -check-prefix=CHECK-S1 /mnt/buildbot/slave-root/clang-bpf-build/llvm/projects/compiler-rt/test/asan/TestCases/masked-ops.cpp /mnt/buildbot/slave-root/clang-bpf-build/stage1/projects/compiler-rt/test/asan/X86_64LinuxConfig/TestCases/Output/masked-ops.cpp.tmp s6 2>&1 | FileCheck -check-prefix=CHECK-S6 /mnt/buildbot/slave-root/clang-bpf-build/llvm/projects/compiler-rt/test/asan/TestCases/masked-ops.cpp /mnt/buildbot/slave-root/clang-bpf-build/stage1/projects/compiler-rt/test/asan/X86_64LinuxConfig/TestCases/Output/masked-ops.cpp.tmp sa 2>&1 | FileCheck -check-prefix=CHECK-SA /mnt/buildbot/slave-root/clang-bpf-build/llvm/projects/compiler-rt/test/asan/TestCases/masked-ops.cpp -- Exit Code: 2 Command Output (stderr): -- FileCheck error: '-' is empty. FileCheck command line: FileCheck -check-prefix=CHECK-L6 /mnt/buildbot/slave-root/clang-bpf-build/llvm/projects/compiler-rt/test/asan/TestCases/masked-ops.cpp -- ******************** git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@288507 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-02Compiler-rt part of D26230: Add (constant) masked load/store support (Try #2)Filipe Cabecinhas
Summary: Unfortunately, there is no way to emit an llvm masked load/store in clang without optimizations, and AVX enabled. Unsure how we should go about making sure this test only runs if it's possible to execute AVX code. Reviewers: kcc, RKSimon, pgousseau Subscribers: kubabrecka, dberris, llvm-commits Differential Revision: https://reviews.llvm.org/D26506 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@288504 91177308-0d34-0410-b5e6-96231b3b80d8
2016-12-02compiler-rt/test/profile/Linux/lit.local.cfg: [Py3] Use text mode ↵NAKAMURA Takumi
(universal_newlines=True). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@288490 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-30[scudo] 32-bit and hardware agnostic supportKostya Kortchinsky
Summary: This update introduces i386 support for the Scudo Hardened Allocator, and offers software alternatives for functions that used to require hardware specific instruction sets. This should make porting to new architectures easier. Among the changes: - The chunk header has been changed to accomodate the size limitations encountered on 32-bit architectures. We now fit everything in 64-bit. This was achieved by storing the amount of unused bytes in an allocation rather than the size itself, as one can be deduced from the other with the help of the GetActuallyAllocatedSize function. As it turns out, this header can be used for both 64 and 32 bit, and as such we dropped the requirement for the 128-bit compare and exchange instruction support (cmpxchg16b). - Add 32-bit support for the checksum and the PRNG functions: if the SSE 4.2 instruction set is supported, use the 32-bit CRC32 instruction, and in the XorShift128, use a 32-bit based state instead of 64-bit. - Add software support for CRC32: if SSE 4.2 is not supported, fallback on a software implementation. - Modify tests that were not 32-bit compliant, and expand them to cover more allocation and alignment sizes. The random shuffle test has been deactivated for linux-i386 & linux-i686 as the 32-bit sanitizer allocator doesn't currently randomize chunks. Reviewers: alekseyshl, kcc Subscribers: filcab, llvm-commits, tberghammer, danalbert, srhines, mgorny, modocache Differential Revision: https://reviews.llvm.org/D26358 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@288255 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-29[Profile] Fix value profiler eviction bugXinliang David Li
Differential Revision: https://reviews.llvm.org/D27224 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@288204 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-29[sanitizer] Add macOS minimum deployment target to all compiler invocations ↵Kuba Mracek
in lit tests The Clang driver on macOS decides the deployment target based on various things, like your host OS version, the SDK version and some environment variables, which makes lit tests pass or fail based on your environment. Let's make sure we run all lit tests with `-mmacosx-version-min=${SANITIZER_MIN_OSX_VERSION}` (10.9 unless overriden). Differential Revision: https://reviews.llvm.org/D26929 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@288186 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-29Revert "Compiler-rt part of D26230: Add (constant) masked load/store support"Filipe Cabecinhas
This reverts commit r288162. Buildbot clang-bpf-build fails running tests. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@288173 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-29Compiler-rt part of D26230: Add (constant) masked load/store supportFilipe Cabecinhas
Summary: Unfortunately, there is no way to emit an llvm masked load/store in clang without optimizations, and AVX enabled. Unsure how we should go about making sure this test only runs if it's possible to execute AVX code. Reviewers: kcc, RKSimon, pgousseau Subscribers: kubabrecka, dberris, llvm-commits Differential Revision: https://reviews.llvm.org/D26506 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@288162 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-29Return memory to OS right after free (not in the async thread).Evgeniy Stepanov
Summary: In order to avoid starting a separate thread to return unused memory to the system (the thread interferes with process startup on Android, Zygota waits for all threads to exit before fork, but this thread never exits), try to return it right after free. Reviewers: eugenis Subscribers: cryptoad, filcab, danalbert, kubabrecka, llvm-commits Patch by Aleksey Shlyapnikov. Differential Revision: https://reviews.llvm.org/D27003 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@288091 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-28[asan] Attempt to fix the debug_double_free.cc testcase on Windows after ↵Kuba Mracek
r288065. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@288067 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-28[asan] Provide bug descriptions for all reports (not just ErrorGeneric)Kuba Mracek
Differential Revision: https://reviews.llvm.org/D27012 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@288065 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-28[sanitizers] Get the proper printf/scanf version when long double transition ↵Marcin Koscielnicki
is involved. See D19555 for rationale. As it turns out, this treatment is also necessary for scanf/printf. Differential Revision: https://reviews.llvm.org/D27118 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@288064 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-26[tsan] Fix the lit expansion of %deflake not to eat a spaceKuba Mracek
The lit expansion of "%deflake " (notice the space after) expands in a way that the space is removed, this fixes that. Differential Revision: https://reviews.llvm.org/D27139 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@287989 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-26[asan] Support handle_sigill on DarwinKuba Mracek
Handling SIGILL on Darwin works fine, so let's just make this feature work and re-enable the ill.cc testcase. Differential Revision: https://reviews.llvm.org/D27141 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@287959 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-26[asan] Add a "dump_registers" flag to print out CPU registers after a SIGSEGVKuba Mracek
This patch prints out all CPU registers after a SIGSEGV. These are available in the signal handler context. Only implemented for Darwin. Can be turned off with the dump_registers flag. Differential Revision: https://reviews.llvm.org/D11365 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@287957 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-25Revert "[XRay][compiler-rt] XRay Buffer Queue"Dean Michael Berris
Broke the build on arm7 and aarch64. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@287911 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-25[XRay][compiler-rt] XRay Buffer QueueDean Michael Berris
Summary: This implements a simple buffer queue to manage a pre-allocated queue of fixed-sized buffers to hold XRay records. We need this to support Flight Data Recorder (FDR) mode. We also implement this as a sub-library first to allow for development before actually using it in an implementation. Some important properties of the buffer queue: - Thread-safe enqueueing/dequeueing of fixed-size buffers. - Pre-allocation of buffers at construction. Reviewers: majnemer, rSerge, echristo Subscribers: mehdi_amini, mgorny, llvm-commits Differential Revision: https://reviews.llvm.org/D26232 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@287910 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-24[tsan] Add support for GCD dispatch_suspend and dispatch_resumeKuba Mracek
GCD queues can be suspended and resumed with dispatch_suspend and dispatch_resume. We need to add synchronization between the call to dispatch_resume and any subsequent executions of blocks in the queue that was resumed. We already have an Acquire(q) before the block executes, so this patch just adds the Release(q) in an interceptor of dispatch_resume. Differential Revision: https://reviews.llvm.org/D27112 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@287902 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-23[test] Use a helper macro to refer to MAP_ANON (NFC)Vedant Kumar
Some of our internal bots use old SDK's which don't define MAP_ANON. Use a helper macro to pass the right flag into mmap(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@287833 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-22[sanitizer] Fix the dedup_token_length_test.cc testcase to not fail when ↵Kuba Mracek
user's home directory contains "bar" Differential Revision: https://reviews.llvm.org/D24605 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@287696 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-22tsan: fix build after 287632Dmitry Vyukov
1. Mac does not have MAP_32BIT. Define it to 0 if it is not defined. 2. We are lacking nolibc stub for ListOfModules::init. Add it. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@287634 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-22tsan: switch libignore from /proc/self/maps to dl_iterate_phdrDmitry Vyukov
/proc/self/maps can't be read atomically, this leads to episodic crashes in libignore as it thinks that a module is loaded twice. See the new test for an example. dl_iterate_phdr does not have this problem. Switch libignore to dl_iterate_phdr. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@287632 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-21[asan] Specialize the initialization-bug.cc testcase for Darwin (it needs a ↵Kuba Mracek
deployment target of 10.11+) The ODR detection in initialization-bug.cc now works on Darwin (due to the recently enabled "live globals" on-by-default), but only if the deployment target is 10.11 or higher. Let's adjust the testcases. Differential Revision: https://reviews.llvm.org/D26927 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@287581 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-21Add a test for vcall on a null ptr.Ivan Krasin
Summary: Turns out that in the case of -fsanitize=null and a virtual call, the type check was generated *after* reading from vtable, which causes a non-interpretable segfault. The check has been moved up in https://reviews.llvm.org/D26559 and this CL adds a test for this case. Reviewers: pcc Subscribers: cfe-commits, kubabrecka Differential Revision: https://reviews.llvm.org/D26560 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@287578 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-21[asan] Un-XFAIL Windows global dead stripping test casesReid Kleckner
Test update for r287576 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@287577 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-19[ARM|ASAN] Disabling more unstable ASAN testsRenato Golin
We're seeying these errors with GCC and Clang on different systems, while some other identical OSs on different boards fail. Like many other ASAN tests, there seem to be no easy way to investigate this other than someone familiar with the sanitizer code and the ARM libraries. At least, for now, we'll silence the bots. I'll create a bugzilla entry. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@287464 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-17[asan] Create a .ASAN$G(A-Z) section for global registrationReid Kleckner
Summary: The expectation is that new instrumented code will add global variable metadata to the .ASAN$GL section, and we will use this new code to iterate over it. This technique seems to break when using incremental linking, which seems to align every global to a 256 byte boundary. Presumably this is so that it can incrementally cope with global changing size. Clang already passes -incremental:no as a linker flag when you invoke it to do the link step. The two tests added for this feature will fail until the LLVM instrumentation change in D26770 lands, so they are marked XFAIL for now. Reviewers: pcc, kcc, mehdi_amini, kubabrecka Subscribers: llvm-commits, mgorny Differential Revision: https://reviews.llvm.org/D26771 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@287246 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-17[asan] Update the tests as Mach-O metadata liveness tracking is on by defaultAnna Zaks
This commit reverts r274579. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@287236 91177308-0d34-0410-b5e6-96231b3b80d8