[lld] [ELF] PHDRS update while condition and phdrs.s unclose2.lds output (PR #100918)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 28 13:55:50 PDT 2024


MaskRay wrote:

Perhaps `readNameTill` can be added: it behaves like `till`, but it expects that token to be a NAME (identifier of quoted string). If `(` `)` `}` is encountered, report an error. This function will allows us to remove a few `unquote(tok)`.

Then this PR can be updated to use `readNameTill`

https://github.com/llvm/llvm-project/pull/100918


More information about the llvm-commits mailing list