diff options
author | Kostya Kortchinsky <kostyak@google.com> | 2017-01-20 18:32:18 +0000 |
---|---|---|
committer | Kostya Kortchinsky <kostyak@google.com> | 2017-01-20 18:32:18 +0000 |
commit | 3c3e150467551cde5760652ccff0c46a3fdba3c0 (patch) | |
tree | ed18a8fb6851f8b05af68c047d9f5d3edbecb4cd /test/scudo/realloc.cpp | |
parent | 212ca9be08d3d542f8929754e651d42a6138fc41 (diff) |
[scudo] Replacing std::atomic with Sanitizer's atomics
Summary:
In an effort to getting rid of dependencies to external libraries, we are
replacing atomic PackedHeader use of std::atomic with Sanitizer's
atomic_uint64_t, which allows us to avoid -latomic.
Reviewers: kcc, phosek, alekseyshl
Reviewed By: alekseyshl
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D28864
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@292630 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/scudo/realloc.cpp')
-rw-r--r-- | test/scudo/realloc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/scudo/realloc.cpp b/test/scudo/realloc.cpp index cc4459500..d34e356fb 100644 --- a/test/scudo/realloc.cpp +++ b/test/scudo/realloc.cpp @@ -1,4 +1,4 @@ -// RUN: %clang_scudo %s -o %t +// RUN: %clang_scudo %s -lstdc++ -o %t // RUN: %run %t pointers 2>&1 // RUN: %run %t contents 2>&1 // RUN: not %run %t memalign 2>&1 | FileCheck %s |