[PATCH] D67298: [ASan] Only run dlopen-mixed-c-cxx.c with static runtime

Jonas Hahnfeld via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 8 09:11:13 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL371336: [ASan] Only run dlopen-mixed-c-cxx.c with static runtime (authored by Hahnfeld, committed by ).
Herald added a subscriber: delcypher.

Changed prior to commit:
  https://reviews.llvm.org/D67298?vs=219227&id=219271#toc

Repository:
  rL LLVM

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

https://reviews.llvm.org/D67298

Files:
  compiler-rt/trunk/test/asan/TestCases/Linux/dlopen-mixed-c-cxx.c


Index: compiler-rt/trunk/test/asan/TestCases/Linux/dlopen-mixed-c-cxx.c
===================================================================
--- compiler-rt/trunk/test/asan/TestCases/Linux/dlopen-mixed-c-cxx.c
+++ compiler-rt/trunk/test/asan/TestCases/Linux/dlopen-mixed-c-cxx.c
@@ -3,9 +3,10 @@
 //
 // RUN: { env ASAN_OPTIONS=verbosity=1 %t.out %t.so || : ; } 2>&1 | FileCheck %s
 //
-// CHECK: {{.*}}AddressSanitizer: failed to intercept '__cxa_{{.*}}throw{{.*}}'
+// CHECK: AddressSanitizer: failed to intercept '__cxa_throw'
 //
-// REQUIRES: x86_64-target-arch && !android
+// This tests assumes static linking of the asan runtime.
+// UNSUPPORTED: asan-dynamic-runtime
 
 #ifdef __cplusplus
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67298.219271.patch
Type: text/x-patch
Size: 699 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190908/b5686346/attachment.bin>


More information about the llvm-commits mailing list