[PATCH] D22484: [compiler-rt] Fix Asan imports/exports unittest

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 19 07:54:53 PDT 2016


rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.

lgtm


================
Comment at: test/asan/TestCases/Windows/dll_host.cc:8
@@ -7,3 +7,3 @@
 // Get the list of ASan wrappers exported by the main module RTL:
-// RUN: dumpbin /EXPORTS %t | grep -o "__asan_wrap[^ ]*" | grep -v @ | sort | uniq > %t.exported_wrappers
+// RUN: dumpbin /EXPORTS %t | grep -o "__asan_wrap[^ ]*" | sed -e s/@.*// > %t.exported_wrappers
 // FIXME: we should really check the other __asan exports too.
----------------
Can you comment that we're removing the "@12" part of the 32-bit exported mangled names because it won't be mentioned in the source?


https://reviews.llvm.org/D22484





More information about the llvm-commits mailing list