[Lldb-commits] [lldb] 6890ad3 - [lldb] Disable TestNamespaceLookup in DWARF 5 + dSYM setting
Felipe de Azevedo Piovezan via lldb-commits
lldb-commits at lists.llvm.org
Mon Jul 10 07:10:31 PDT 2023
Author: Felipe de Azevedo Piovezan
Date: 2023-07-10T10:10:15-04:00
New Revision: 6890ad3f41c51ba9008c26f5b23397d5e0bc2aad
URL: https://github.com/llvm/llvm-project/commit/6890ad3f41c51ba9008c26f5b23397d5e0bc2aad
DIFF: https://github.com/llvm/llvm-project/commit/6890ad3f41c51ba9008c26f5b23397d5e0bc2aad.diff
LOG: [lldb] Disable TestNamespaceLookup in DWARF 5 + dSYM setting
The ordering in which functions are presented to the expression evaluator in
this test setting triggers a known bug in LLDB.
Differential Revision: https://reviews.llvm.org/D154843
Added:
Modified:
lldb/test/API/lang/cpp/namespace/TestNamespaceLookup.py
Removed:
################################################################################
diff --git a/lldb/test/API/lang/cpp/namespace/TestNamespaceLookup.py b/lldb/test/API/lang/cpp/namespace/TestNamespaceLookup.py
index 2040a2d8f76a64..2b1e2ac00f07ff 100644
--- a/lldb/test/API/lang/cpp/namespace/TestNamespaceLookup.py
+++ b/lldb/test/API/lang/cpp/namespace/TestNamespaceLookup.py
@@ -164,7 +164,11 @@ def test_scope_lookup_with_run_command(self):
# Continue to BP_file_scope at file scope
self.runToBkpt("continue")
- self.expect_expr("func()", result_type="int", result_value="2")
+ # FIXME: In DWARF 5 with dsyms, the ordering of functions is slightly
+ #
diff erent, which also hits the same issues mentioned previously.
+ if (configuration.dwarf_version <= 4 or
+ self.getDebugInfo() == 'dwarf'):
+ self.expect_expr("func()", result_type="int", result_value="2")
# Continue to BP_ns_scope at ns scope
self.runToBkpt("continue")
More information about the lldb-commits
mailing list