[llvm-bugs] [Bug 30390] New: RecordStreamer doesn't handle weak undefined symbols
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Sep 14 14:37:51 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=30390
Bug ID: 30390
Summary: RecordStreamer doesn't handle weak undefined symbols
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Object
Assignee: unassignedbugs at nondot.org
Reporter: rafael.espindola at gmail.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
it has only
enum State { NeverSeen, Global, GlobalWeak, Defined, DefinedGlobal, Used };
which means that given
----------------------------
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
module asm ".weak patatino"
-----------------------------
llvm-nm prints
W patatino
it should print
w patatino
i.e., it should know the symbol is undefined.
--
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/20160914/0b698849/attachment.html>
More information about the llvm-bugs
mailing list