[PATCH] D20642: [codeview] Use comdats for debug info describing comdat functions
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Wed May 25 13:36:37 PDT 2016
rnk created this revision.
rnk added reviewers: zturner, majnemer.
rnk added subscribers: llvm-commits, amccarth, aaboud.
This allows the linker to discard unused symbol information for comdat
functions that were discarded during the link. Before this change,
searching for the name of an inline function in the debugger would
return multiple results, one per symbol subsection in the object file.
After this change, there is only one result, the result for the function
chosen by the linker.
http://reviews.llvm.org/D20642
Files:
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
lib/CodeGen/AsmPrinter/CodeViewDebug.h
test/DebugInfo/COFF/comdat.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20642.58494.patch
Type: text/x-patch
Size: 15542 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160525/f5713100/attachment.bin>
More information about the llvm-commits
mailing list