[PATCH] D102281: [lld][WebAssembly] Allow data symbols to extend past end of segment

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 11 18:06:25 PDT 2021


sbc100 added inline comments.


================
Comment at: lld/test/wasm/merge-string.s:19
 bar:
         .asciz "bc"
         .asciz "bc"
----------------
dschuff wrote:
> does `.asciz` mean that it puts a NUL after each one of the "bc" substrings here? (in other words, is it 'b' 'c' \0 'b' 'c' \0 ?
Yes, exactly.  So the size here was actually wrong to begin with.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102281/new/

https://reviews.llvm.org/D102281



More information about the llvm-commits mailing list