aboutsummaryrefslogtreecommitdiff
path: root/compiler-rt
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2023-07-22 15:47:44 -0700
committerFangrui Song <i@maskray.me>2023-07-22 15:47:44 -0700
commit7a31ac311824011a39ab1e2cf5d2a7a116b0960c (patch)
tree6d471765fbc9ef66c3c71787b89f6fea07babc48 /compiler-rt
parente6a9b06dc0b974eb16186a71099b88a631afdf52 (diff)
downloadllvm-7a31ac311824011a39ab1e2cf5d2a7a116b0960c.zip
llvm-7a31ac311824011a39ab1e2cf5d2a7a116b0960c.tar.gz
llvm-7a31ac311824011a39ab1e2cf5d2a7a116b0960c.tar.bz2
[InstrProf] Stabilize --show-prof-sym-list dump order
D118181 leverages the iteration order of StringSet, which is not guaranteed to be deterministic.
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/test/profile/Linux/instrprof-show-debug-info-correlation.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler-rt/test/profile/Linux/instrprof-show-debug-info-correlation.c b/compiler-rt/test/profile/Linux/instrprof-show-debug-info-correlation.c
index b42f3b3..226d678 100644
--- a/compiler-rt/test/profile/Linux/instrprof-show-debug-info-correlation.c
+++ b/compiler-rt/test/profile/Linux/instrprof-show-debug-info-correlation.c
@@ -34,8 +34,8 @@ void b() {}
// YAML: Line: [[@LINE+1]]
int main() { return 0; }
-// CHECK: main
-// CHECK: a
-// CHECK: b
+// CHECK: a
+// CHECK-NEXT: b
+// CHECK-NEXT: main
// CHECK: Counters section size: 0x18 bytes
// CHECK: Found 3 functions