diff --git a/bolt/test/lit.cfg.py b/bolt/test/lit.cfg.py --- a/bolt/test/lit.cfg.py +++ b/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')