After 9d0754ada5dbbc0c009bcc2f7824488419cc5530 ("[MC] Relax fragments
eagerly") removes the assert of Offset, it is no longer useful to
initialize the member to -1.
Now the symbol value estimate is more precise, which leads to slight
behavior change to layout-interdependency.s.
14 lines
337 B
ArmAsm
14 lines
337 B
ArmAsm
# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o /dev/null
|
|
# RUN: not llvm-mc -filetype=obj -triple=x86_64 --defsym GAP=1 %s -o /dev/null 2>&1 | FileCheck %s
|
|
|
|
fct_end:
|
|
|
|
.fill (data_start - fct_end), 1, 42
|
|
.ifdef GAP
|
|
.byte 0
|
|
.endif
|
|
# CHECK: [[#@LINE+1]]:7: error: invalid number of bytes
|
|
.fill (fct_end - data_start), 1, 42
|
|
|
|
data_start:
|