Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
lld/wasm/SyntheticSections.cpp | ||
---|---|---|
525 | Can we combine these two blocks into a single if (config->extendedConst && config->isPic) block that handles these? (since they share most of the code). Also, shouldn't there be a corresponding change to __wasm_apply_global_relocs to avoid applying a relocation? Also, can you add a test for this (I would imagine by modifying lld/test/wasm/pie.ll perhaps? |
lld/wasm/SyntheticSections.cpp | ||
---|---|---|
525 |
ok
that part is already done. that's why it's broken and i noticed it.
ok. i will try. |
lld/test/wasm/Inputs/internal_func.ll | ||
---|---|---|
11 ↗ | (On Diff #543929) | For new test files could you add them as .s files? I've been trying to convert all the .ll files for .s over time but have yet to finish that work. It should be that same or fewer lines I think. |
lld/test/wasm/pie.ll | ||
39 | Why define two different internal funcs? | |
lld/wasm/SyntheticSections.cpp | ||
488 | llvm coding style uses camel case for locals so this would be useExtendedConst and globalIdx |
Why define two different internal funcs?