[Lldb-commits] [PATCH] D121875: [BOLT][DWARF] Re-enable DWARF5 tests.

Alexander Yermolovich via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 16 18:42:00 PDT 2022


ayermolo created this revision.
Herald added subscribers: hoy, modimo, wenlei.
Herald added a project: All.
ayermolo requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.

Test Plan:


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D121875

Files:
  cross-project-tests/lit.cfg.py
  lldb/test/API/lit.cfg.py
  lldb/test/Shell/helper/toolchain.py


Index: lldb/test/Shell/helper/toolchain.py
===================================================================
--- lldb/test/Shell/helper/toolchain.py
+++ lldb/test/Shell/helper/toolchain.py
@@ -140,7 +140,7 @@
 
     # Facebook T92898286
     if config.llvm_test_bolt:
-        host_flags += ['--post-link-optimize', '-fdebug-default-version=4']
+        host_flags += ['--post-link-optimize']
     # End Facebook T92898286
 
     host_flags = ' '.join(host_flags)
Index: lldb/test/API/lit.cfg.py
===================================================================
--- lldb/test/API/lit.cfg.py
+++ lldb/test/API/lit.cfg.py
@@ -205,8 +205,7 @@
 
 # Facebook T92898286
 if is_configured("llvm_test_bolt"):
-    dotest_cmd += ['-E', '"--post-link-optimize"',
-                   '-E', '"-fdebug-default-version=4"']
+    dotest_cmd += ['-E', '"--post-link-optimize"']
 # End Facebook T92898286
 
 if 'lldb-repro-capture' in config.available_features or \
Index: cross-project-tests/lit.cfg.py
===================================================================
--- cross-project-tests/lit.cfg.py
+++ cross-project-tests/lit.cfg.py
@@ -75,7 +75,7 @@
 # Facebook T92898286
 should_test_bolt = get_required_attr(config, "llvm_test_bolt")
 if should_test_bolt:
-    llvm_config.use_clang(required=('clang' in config.llvm_enabled_projects), additional_flags=['--post-link-optimize', '-fdebug-default-version=4'])
+    llvm_config.use_clang(required=('clang' in config.llvm_enabled_projects), additional_flags=['--post-link-optimize'])
 else:
     llvm_config.use_clang(required=('clang' in config.llvm_enabled_projects))
 # End Facebook T92898286


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121875.416043.patch
Type: text/x-patch
Size: 1640 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220317/676bccc3/attachment.bin>


More information about the lldb-commits mailing list