Size 0 sections can have symbols that have size 0. Build those sections and symbols into the LinkGraph so they can be used properly if needed. Reviewed By: lhames Differential Revision: https://reviews.llvm.org/D114749
13 lines
168 B
ArmAsm
13 lines
168 B
ArmAsm
// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o %t
|
|
// RUN: llvm-jitlink -noexec %t
|
|
|
|
.section .foo,"ax"
|
|
.globl zero
|
|
zero:
|
|
|
|
|
|
.text
|
|
.globl main
|
|
main:
|
|
nop
|