diff options
author | Rui Ueyama <ruiu@google.com> | 2014-09-19 21:58:54 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2014-09-19 21:58:54 +0000 |
commit | 44a7c7f1aa34c725d65aad46fe33b4a8247e71a0 (patch) | |
tree | 9b83a85367b3ee62ed8e0872108f357d5df878f5 /llvm/lib/Object/Error.cpp | |
parent | 16ebdd6c1bd35d2661bd51b0cf89aa4d01215d0c (diff) | |
download | bcm5719-llvm-44a7c7f1aa34c725d65aad46fe33b4a8247e71a0.tar.gz bcm5719-llvm-44a7c7f1aa34c725d65aad46fe33b4a8247e71a0.zip |
[PECOFF] Set ordinal to alias atoms
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
Diffstat (limited to 'llvm/lib/Object/Error.cpp')
0 files changed, 0 insertions, 0 deletions