
The section offset field is only 32 bits; if the computed section offset is larger, make sure we don't emit a corrupt object file.
10 lines
236 B
ArmAsm
10 lines
236 B
ArmAsm
// RUN: not llvm-mc -triple x86_64-apple-macosx -filetype=obj -o /dev/null %s 2>&1 | FileCheck %s
|
|
|
|
// CHECK: error: cannot encode offset of section
|
|
|
|
.data
|
|
.long 1
|
|
.zero 0x100000000
|
|
.const
|
|
.long 1
|