[Lldb-commits] [lldb] eefbff0 - [lldb] s/CHECK-NEXT/CHECK-DAG in dwp-debug-types.s
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Tue Feb 25 01:04:24 PST 2020
Author: Pavel Labath
Date: 2020-02-25T10:04:09+01:00
New Revision: eefbff0082c5228e01611f7e6987695d0b1c6d32
URL: https://github.com/llvm/llvm-project/commit/eefbff0082c5228e01611f7e6987695d0b1c6d32
DIFF: https://github.com/llvm/llvm-project/commit/eefbff0082c5228e01611f7e6987695d0b1c6d32.diff
LOG: [lldb] s/CHECK-NEXT/CHECK-DAG in dwp-debug-types.s
These can come out nondeterministically for two reasons:
- sorting based on ConstStringified pointer values
- different relative speeds of the indexing threads
Making these nondeterministic without incurring performance penalties is
hard, so I just make the test expect them in any order (the order is not
important in this test anyway.
Added:
Modified:
lldb/test/Shell/SymbolFile/DWARF/dwp-debug-types.s
Removed:
################################################################################
diff --git a/lldb/test/Shell/SymbolFile/DWARF/dwp-debug-types.s b/lldb/test/Shell/SymbolFile/DWARF/dwp-debug-types.s
index 8c6cb5421b4e..c7450655457e 100644
--- a/lldb/test/Shell/SymbolFile/DWARF/dwp-debug-types.s
+++ b/lldb/test/Shell/SymbolFile/DWARF/dwp-debug-types.s
@@ -16,15 +16,15 @@
# Make sure each entity is present in the index only once.
# SYMBOLS: Globals and statics:
-# SYMBOLS-NEXT: 3fffffff/INFO/00000023 "A"
-# SYMBOLS-NEXT: 3fffffff/INFO/0000005a "A"
+# SYMBOLS-DAG: 3fffffff/INFO/00000023 "A"
+# SYMBOLS-DAG: 3fffffff/INFO/0000005a "A"
# SYMBOLS-EMPTY:
# SYMBOLS: Types:
-# SYMBOLS-NEXT: 3fffffff/TYPE/00000018 "ENUM0"
-# SYMBOLS-NEXT: 3fffffff/TYPE/0000002d "int"
-# SYMBOLS-NEXT: 3fffffff/TYPE/00000062 "int"
-# SYMBOLS-NEXT: 3fffffff/TYPE/0000004d "ENUM1"
+# SYMBOLS-DAG: 3fffffff/TYPE/00000018 "ENUM0"
+# SYMBOLS-DAG: 3fffffff/TYPE/0000004d "ENUM1"
+# SYMBOLS-DAG: 3fffffff/TYPE/0000002d "int"
+# SYMBOLS-DAG: 3fffffff/TYPE/00000062 "int"
# SYMBOLS-EMPTY:
.ifdef MAIN
More information about the lldb-commits
mailing list