[llvm-bugs] [Bug 33097] New: IR symbols are not live in relocatable link
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu May 18 17:02:04 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=33097
Bug ID: 33097
Summary: IR symbols are not live in relocatable link
Product: lld
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: ELF
Assignee: unassignedbugs at nondot.org
Reporter: eugeni.stepanov at gmail.com
CC: llvm-bugs at lists.llvm.org
$ cat 1.ll
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
define void @f() {
entry:
ret void
}
$ bin/llvm-as 1.ll -o 1.bc && bin/ld.lld 1.bc -r -o 2.o && objdump -drl 2.o
2.o: file format elf64-x86-64
The output is an empty object file.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170519/f7724a7f/attachment.html>
More information about the llvm-bugs
mailing list