[PATCH] D123329: [BOLT][TEST] Remove -no-pie from tests

Amir Ayupov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 7 11:28:48 PDT 2022


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

Align with an upstream change D120305 <https://reviews.llvm.org/D120305> to make PIE the default on linux-gnu.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D123329

Files:
  bolt/test/lit.cfg.py


Index: bolt/test/lit.cfg.py
===================================================================
--- bolt/test/lit.cfg.py
+++ bolt/test/lit.cfg.py
@@ -63,8 +63,8 @@
 llvm_config.config.available_features.add('ld.lld')
 llvm_config.add_tool_substitutions([ToolSubst(r'ld\.lld', command=ld_lld)])
 
-config.substitutions.append(('%cflags', '-no-pie -gdwarf-4'))
-config.substitutions.append(('%cxxflags', '-no-pie -gdwarf-4'))
+config.substitutions.append(('%cflags', '-gdwarf-4'))
+config.substitutions.append(('%cxxflags', '-gdwarf-4'))
 
 link_fdata_cmd = os.path.join(config.test_source_root, 'link_fdata.py')
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123329.421299.patch
Type: text/x-patch
Size: 613 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220407/a0fbf29c/attachment.bin>


More information about the llvm-commits mailing list