Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lld/wasm/Relocations.cpp | ||
---|---|---|
43 ↗ | (On Diff #214059) | nit: space not after but before * |
Comment Actions
Nothing looks wrong to me here, but I don't know enough to fully understand it, sorry - like what the various indexes are, what a virtual address means here, etc.
Perhaps @tlively can take a look if we need a second reviewer, as he's worked on this code recently?
lld/wasm/Driver.cpp | ||
---|---|---|
541 ↗ | (On Diff #214059) | does this mean we create these symbols in the output even when not linking PIC code? |
lld/wasm/Driver.cpp | ||
---|---|---|
541 ↗ | (On Diff #214059) | Yes, they go from being imported global to local, globals with a fixed value. wasm-opt can then eliminate them completely. See the comment in addGOTEntry. As a followup we could instead do linker relaxation to remove references to these. |