Add the option to generate a memory map file showing the memory location
of all external global variables.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 32842 Build 32841: arc lint + arc unit
Event Timeline
Comment Actions
This would require a test before it is merged.
lld/wasm/MapFile.cpp | ||
---|---|---|
18 | It might be good to give the hex values an 0x prefix |
Comment Actions
I'd rename this patch to avoid "memory map file" because that term is overloaded and can be interpreted in a different way. I'd say implementing -print-map.
lld/wasm/MapFile.cpp | ||
---|---|---|
14 | This format is different from lld/ELF. I think we have a column for input files, input sections and output sections. Is this an intentional change? |
This format is different from lld/ELF. I think we have a column for input files, input sections and output sections. Is this an intentional change?