https://bugs.llvm.org/show_bug.cgi?id=36101
Bug ID: 36101
Summary: LLD COFF produces bad diagnostics for undefined
/include symbol
Product: lld
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: COFF
Assignee: unassignedb...@nondot.org
Reporter: smee...@fb.com
CC: compn...@compnerd.org, llvm-bugs@lists.llvm.org,
pe...@pcc.me.uk, r...@google.com, r...@google.com,
ztur...@google.com
% cat using.c
int main() { return 0; }
#pragma comment(linker, "/include:undefined")
% clang -target x86_64-windows-msvc -c using.c
$ lld-link -entry:main using.o
lld-link: error: <root>: undefined symbol: undefined
Undefined symbols from /include directives in object files are reported as
originating from the GC root, which is confusing and makes the user have to
manually hunt for the errant object file.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs