forked from OSchip/llvm-project
44a7c7f1aa
Atoms are ordered in the output file by ordinal. File has file ordinal, and atom has atom ordinal which is unique within the file. No two atoms should have the same combination of ordinals. However that contract was not satisifed for alias atoms. Alias atom is defined by /alternatename:sym1=sym2. In this case sym1 is defined as an alias for sym2. sym1 always got ordinal 0. As a result LLD failed with an assertion failure. This patch assigns ordinal to alias atoms. llvm-svn: 218158 |
||
---|---|---|
.. | ||
Atoms.h | ||
CMakeLists.txt | ||
EdataPass.cpp | ||
EdataPass.h | ||
GroupedSectionsPass.h | ||
IdataPass.cpp | ||
IdataPass.h | ||
LinkerGeneratedSymbolFile.h | ||
LoadConfigPass.cpp | ||
LoadConfigPass.h | ||
Makefile | ||
PECOFFLinkingContext.cpp | ||
Pass.cpp | ||
Pass.h | ||
ReaderCOFF.cpp | ||
ReaderImportHeader.cpp | ||
WriterImportLibrary.cpp | ||
WriterImportLibrary.h | ||
WriterPECOFF.cpp |