Files
clang-p2996/lld/test/ELF/linkerscript
George Rimar c44a23f8f4 [LLD][ELF] - Linkerscript: fix FILL() expressions handling.
D64130 introduced a bug described in the following message:
https://reviews.llvm.org/D64130#1571560

The problem can happen with the following script:

SECTIONS {
  .out : {
...
   FILL(0x10101010)
   *(.aaa)
...
}

The current code tries to read (0x10101010) as an expression and
does not break when meets *, what results in a script parsing error.

In this patch, I verify that FILL command's expression always wrapped in ().
And at the same time =<fillexp> expression can be both wrapped or unwrapped.
I checked it matches to bfd/gold.

Differential revision: https://reviews.llvm.org/D64476

llvm-svn: 365635
2019-07-10 14:36:48 +00:00
..
2019-04-20 10:50:27 +00:00
2018-07-02 19:17:03 +00:00
2018-07-02 19:17:03 +00:00
2019-01-10 16:26:05 +00:00
2019-05-02 00:39:03 +00:00
2019-01-28 15:03:47 +00:00