File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1882,15 +1882,15 @@ template <class ELFT> void Writer<ELFT>::finalizeSections() {
1882
1882
ElfSym::tlsModuleBase = cast<Defined>(s);
1883
1883
}
1884
1884
}
1885
- }
1886
1885
1887
- if (!config->relocatable ) {
1888
- llvm::TimeTraceScope timeScope (" Finalize .eh_frame" );
1889
1886
// This responsible for splitting up .eh_frame section into
1890
1887
// pieces. The relocation scan uses those pieces, so this has to be
1891
1888
// earlier.
1892
- for (Partition &part : partitions)
1893
- finalizeSynthetic (part.ehFrame .get ());
1889
+ {
1890
+ llvm::TimeTraceScope timeScope (" Finalize .eh_frame" );
1891
+ for (Partition &part : partitions)
1892
+ finalizeSynthetic (part.ehFrame .get ());
1893
+ }
1894
1894
1895
1895
if (config->hasDynSymTab ) {
1896
1896
parallelForEach (symtab.getSymbols (), [](Symbol *sym) {
You can’t perform that action at this time.
0 commit comments