[compiler-rt] 97184ab - [InstrProfiling] Fix instrprof-gc-sections.c test
Petr Hosek via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 21 23:49:19 PST 2021
Author: Petr Hosek
Date: 2021-02-21T23:47:18-08:00
New Revision: 97184ab99c46e35ae94f828ee90f5d6af2c47e11
URL: https://github.com/llvm/llvm-project/commit/97184ab99c46e35ae94f828ee90f5d6af2c47e11
DIFF: https://github.com/llvm/llvm-project/commit/97184ab99c46e35ae94f828ee90f5d6af2c47e11.diff
LOG: [InstrProfiling] Fix instrprof-gc-sections.c test
After D97110 __llvm_prof_cnts has the nobits type so it's empty.
Added:
Modified:
compiler-rt/test/profile/instrprof-gc-sections.c
Removed:
################################################################################
diff --git a/compiler-rt/test/profile/instrprof-gc-sections.c b/compiler-rt/test/profile/instrprof-gc-sections.c
index 8459fb70fd75..3beb27465c80 100644
--- a/compiler-rt/test/profile/instrprof-gc-sections.c
+++ b/compiler-rt/test/profile/instrprof-gc-sections.c
@@ -73,7 +73,7 @@ int main() { return 0; }
// be garbage collected.
// PRF_CNTS: Hex dump of section '__llvm_prf_cnts':
-// PRF_CNTS-NEXT: {{.*}} 00000000 00000000 {{.*$}}
+// PRF_CNTS-EMPTY:
// PGO: Counters:
// PGO-NEXT: main:
More information about the llvm-commits
mailing list