[PATCH] D74687: [LLD][ELF] - Linker script: do not fail parsing when "/DISCARD/" follows the fill expression.

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 18 09:14:45 PDT 2020


MaskRay added a comment.

The title can probably be improved.

For `do not fail parsing when "/DISCARD/" follows the fill expression.`, I've got one suggestion.

- Disambiguate =fillexp with a primary expression to allow `=0x90 /DISCARD/`

A native speaker can suggest a better one:)


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

https://reviews.llvm.org/D74687





More information about the llvm-commits mailing list