[lld-macho] Map file should map symbols to their original bitcode file
authorJez Ng <jezng@fb.com>
Sat, 22 Oct 2022 02:48:25 +0000 (22:48 -0400)
committerJez Ng <jezng@fb.com>
Sat, 22 Oct 2022 02:49:02 +0000 (22:49 -0400)
commitb9457330266e12364e8949939f899135c41d88b3
tree577eb00c9d59bd0b0161b8ae0b94e61a7593d976
parentda374d180dbdaefd7d4b111c442ac77837323511
[lld-macho] Map file should map symbols to their original bitcode file

... instead of mapping them to the intermediate object file.
This matches ld64.

Reviewed By: #lld-macho, Roger

Differential Revision: https://reviews.llvm.org/D136380
lld/MachO/LTO.cpp
lld/MachO/MapFile.cpp
lld/MachO/SymbolTable.cpp
lld/MachO/Symbols.cpp
lld/MachO/Symbols.h
lld/MachO/SyntheticSections.cpp
lld/test/MachO/map-file.ll [new file with mode: 0644]