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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
lld/wasm/InputFiles.cpp | ||
---|---|---|
375 | I guess there is no .debug_line_str.dwo because the .debug_line section goes into the main executable, instead of a dwo file? |
lld/wasm/InputFiles.cpp | ||
---|---|---|
375 | Indeed. At least there is no such section marked in initWasmMCObjectFileInfo which is the canonical list of string merge-able sections (which is why I mention it here). |
I guess there is no .debug_line_str.dwo because the .debug_line section goes into the main executable, instead of a dwo file?