For the object file writer we need to allow the underflow (ar write
zero), but for the final linker output we should probably generate an
error (I've left that as a TODO for now).
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
lld/wasm/InputChunks.cpp | ||
---|---|---|
119–122 | Would this be the place to put the underflow check? If so, maybe a TODO here as well as in the test? |
Would this be the place to put the underflow check? If so, maybe a TODO here as well as in the test?