summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/Error.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2014-09-19 21:58:54 +0000
committerRui Ueyama <ruiu@google.com>2014-09-19 21:58:54 +0000
commit44a7c7f1aa34c725d65aad46fe33b4a8247e71a0 (patch)
tree9b83a85367b3ee62ed8e0872108f357d5df878f5 /llvm/lib/Object/Error.cpp
parent16ebdd6c1bd35d2661bd51b0cf89aa4d01215d0c (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud