[PATCH] D63877: Avoid infinite loop with asan interception

Kostya Serebryany via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 2 11:18:47 PDT 2019


kcc added inline comments.


================
Comment at: compiler-rt/test/asan/TestCases/dlopen-mixed-c-cxx.c:2
+// RUN: %clangxx_asan -xc++ -shared -fPIC -o %t.so - < %s
+// RUN: %clang_asan -fsanitize=address %s -o %t.out -ldl
+// RUN: ASAN_OPTIONS=verbosity=1 not %t.out %t.so 2>&1 | FileCheck %s
----------------
Do you need -fsanitize=address here? 


================
Comment at: compiler-rt/test/asan/TestCases/dlopen-mixed-c-cxx.c:3
+// RUN: %clang_asan -fsanitize=address %s -o %t.out -ldl
+// RUN: ASAN_OPTIONS=verbosity=1 not %t.out %t.so 2>&1 | FileCheck %s
+//
----------------
What will happen with this test on non-linux-x86? 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63877/new/

https://reviews.llvm.org/D63877





More information about the llvm-commits mailing list