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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to