Sam Clegg
|
c1a59fa550
|
[lld][WebAssemlby] Fix for string merging of -dwarf-5 sections
We were mistakenly treating `.debug_str_offsets` as a string mergable
section when it is not (it contains integers not strings). This is an
indication that we really should find a way to store flags for custom
sections.
Fixes: https://bugs.llvm.org/show_bug.cgi?id=48828
Fixes: https://bugs.chromium.org/p/chromium/issues/detail?id=1172217
Differential Revision: https://reviews.llvm.org/D103486
|
2021-06-01 14:33:56 -07:00 |
Sam Clegg
|
356b85edd7
|
[lld][WebAssembly] Fix for string tail merging and -r/--relocatable
Ensure that both SyntheticMergedChunk and all MergeInfoChunks that it
comprises are assigned the correct output section. Without this we
would crash when outputting relocations in --relocatable mode.
Fixes: https://github.com/emscripten-core/emscripten/issues/14220
Differential Revision: https://reviews.llvm.org/D102806
|
2021-05-19 15:25:58 -07:00 |
Sam Clegg
|
45b7cf9955
|
[lld][WebAssembly] Enable string tail merging in debug sections
This is a followup to https://reviews.llvm.org/D97657 which
applied string tail merging to data segments.
Fixes: https://bugs.llvm.org/show_bug.cgi?id=48828
Differential Revision: https://reviews.llvm.org/D102436
|
2021-05-18 12:25:39 -07:00 |