[PATCH] D118080: [BOLT][TEST] Opt back in to the DWARFv4

Amir Ayupov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 24 14:55:15 PST 2022


Amir created this revision.
Amir added reviewers: maksfb, ayermolo.
Herald added a reviewer: rafauler.
Amir requested review of this revision.
Herald added subscribers: llvm-commits, yota9.
Herald added a project: LLVM.

BOLT doesn't fully support DWARFv5 yet. Revert from the default back to DWARFv4.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D118080

Files:
  bolt/test/lit.cfg.py


Index: bolt/test/lit.cfg.py
===================================================================
--- bolt/test/lit.cfg.py
+++ bolt/test/lit.cfg.py
@@ -60,8 +60,8 @@
 llvm_config.use_clang()
 llvm_config.use_llvm_tool('lld', required=True, search_env='LLD')
 
-config.substitutions.append(('%cflags', '-no-pie'))
-config.substitutions.append(('%cxxflags', '-no-pie'))
+config.substitutions.append(('%cflags', '-no-pie -gdwarf-4'))
+config.substitutions.append(('%cxxflags', '-no-pie -gdwarf-4'))
 
 link_fdata_cmd = os.path.join(config.test_source_root, 'link_fdata.py')
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118080.402678.patch
Type: text/x-patch
Size: 571 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220124/9bf4af51/attachment.bin>


More information about the llvm-commits mailing list