[compiler-rt] 134ae13 - [compiler-rt] Fix instrprof-darwin-exports test (#67487)

via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 26 20:42:44 PDT 2023


Author: David Tellenbach
Date: 2023-09-26T20:42:40-07:00
New Revision: 134ae13adaffcb80693819f498a28b2b1bbde9cf

URL: https://github.com/llvm/llvm-project/commit/134ae13adaffcb80693819f498a28b2b1bbde9cf
DIFF: https://github.com/llvm/llvm-project/commit/134ae13adaffcb80693819f498a28b2b1bbde9cf.diff

LOG: [compiler-rt] Fix instrprof-darwin-exports test (#67487)

Added: 
    

Modified: 
    compiler-rt/test/profile/instrprof-darwin-exports.c

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/profile/instrprof-darwin-exports.c b/compiler-rt/test/profile/instrprof-darwin-exports.c
index 5e5f69b91cb80dd..079d5d28ed24d9b 100644
--- a/compiler-rt/test/profile/instrprof-darwin-exports.c
+++ b/compiler-rt/test/profile/instrprof-darwin-exports.c
@@ -22,7 +22,7 @@
 //
 // RUN: %clang_pgogen -Werror -o %t.default %s
 // RUN: nm -jUg %t.default | grep -v __mh_execute_header > %t.default.exports
-// RUN: nm -jUg %t > %t.clang.exports
+// RUN: nm -jUg %t | grep -v __mh_execute_header > %t.clang.exports
 // RUN: 
diff  %t.default.exports %t.clang.exports
 
 // 4) Ditto (3), but for GCOV.


        


More information about the llvm-commits mailing list