[PATCH] D63877: Avoid infinite loop with asan interception
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 8 14:54:18 PDT 2019
vitalybuka added inline comments.
================
Comment at: compiler-rt/test/asan/TestCases/Linux/dlopen-mixed-c-cxx.c:2
+// REQUIRES: x86_64-target-arch
+// RUN: %clangxx_asan -fsanitize=address -xc++ -shared -fPIC -o %t.so - < %s
+// RUN: %clang_asan -fsanitize=address %s -o %t.out -ldl
----------------
"%clang_asan" should already include "-fsanitize=address"
So I would expect just
```
// RUN: %clangxx_asan -xc++ -shared -fPIC -o %t.so - < %s
// RUN: %clang_asan %s -o %t.out -ldl
```
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63877/new/
https://reviews.llvm.org/D63877
More information about the llvm-commits
mailing list