Details
Diff Detail
Event Timeline
lld/wasm/InputChunks.cpp | ||
---|---|---|
63 | Maybe just initialize to 5 and override for the 64-bit cases. Also maybe a better name, since this is not that amount of padded by the overall width. Howabout maxLEBWidth? Or paddedLEBWidth? | |
lld/wasm/InputFiles.cpp | ||
51 | No need to escape single quote is there? Can we get tests for these new error cases? | |
600 | Passing this at each callside makes me think this should be a method, no? | |
llvm/lib/MC/WasmObjectWriter.cpp | ||
502 | Revert this ? |
lld/wasm/InputFiles.cpp | ||
---|---|---|
51 | You want a test that builds two different .o files and tries to link them? Doesn't that sound a bit overkill for this? Do all LLD errors have tests? Certainly the ones we already had that I am replacing didn't. |
lld/wasm/InputFiles.cpp | ||
---|---|---|
51 | You thats exactly what I mean. If the existing error message didn't have tests they should have done. It should be trivial to just use and empty .s file as the test, since all you need to do is compile it two ways and try to link it two ways to get each error. Or you can use a .test that references and existing .s such as lld/test/wasm/Inputs/start.s |
Maybe just initialize to 5 and override for the 64-bit cases.
Also maybe a better name, since this is not that amount of padded by the overall width. Howabout maxLEBWidth? Or paddedLEBWidth?