1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/tools/dsymutil
Jonas Devlieghere ba2056f9d1 [dsymutil] Don't mark forward declarations as canonical.
This patch completes the work done by Frederic Riss to addresses
dsymutil incorrectly considering forward declaration as canonical during
uniquing. This resulted in references to the forward declaration even
after the definition was encountered.

In addition to the test provided by Alexander Shaposhnikov in D29609, I
added another test to cover several scenarios that were mentioned in his
conversation with Fred. We now also check that uniquing still occurs
after the definition was encountered.

For more context please refer to D29609

Differential revision: https://reviews.llvm.org/D37127

llvm-svn: 312274
2017-08-31 20:22:31 +00:00
..
BinaryHolder.cpp
BinaryHolder.h
CMakeLists.txt
DebugMap.cpp
DebugMap.h
dsymutil.cpp
dsymutil.h
DwarfLinker.cpp [dsymutil] Don't mark forward declarations as canonical. 2017-08-31 20:22:31 +00:00
LLVMBuild.txt
MachODebugMapParser.cpp
MachOUtils.cpp Spelling mistakes in comments. NFCI. 2017-03-30 12:59:53 +00:00
MachOUtils.h
NonRelocatableStringpool.h