[PATCH] D43002: Emit S_OBJNAME symbol in CodeView

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 7 09:05:53 PST 2018


dblaikie added a comment.

Does this need to be the name of an actual object file? Any idea how this should work in the case of LTO?

For the .dwo file name, which must be the actual name of the final .dwo file (ie: intermediate IR 'object' file names are not relevant, only the final true object file because that's where the .dwo file comes from) this wasn't passed down through debug info metadata (because at the time the metadata's generated the final object file name is not known - that metadata might be merged, split, Thin merged, etc, before the final object is emitted) but through the MCOptions struct passed into LLVM's MC layer.


https://reviews.llvm.org/D43002





More information about the llvm-commits mailing list