aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ObjectFile.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-10-07 03:19:55 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-10-07 03:19:55 +0000
commitcb69583c507ca6f41072f5f52177bb3b6ad359cf (patch)
treebed9ecfafa7c12ac501c232ef819f1d0a8ab002e /llvm/lib/Object/ObjectFile.cpp
parent2cf5d829838d26219511defc344e9d8af76443be (diff)
downloadllvm-cb69583c507ca6f41072f5f52177bb3b6ad359cf.zip
llvm-cb69583c507ca6f41072f5f52177bb3b6ad359cf.tar.gz
llvm-cb69583c507ca6f41072f5f52177bb3b6ad359cf.tar.bz2
gold plugin: create internal replacement with original linkage first.
The call to copyAttributesFrom will copy the visibility, which might assert if it were to produce something invalid like "internal hidden". We avoid it by first creating the replacement with the original linkage and then setting it to internal affter the call to copyAttributesFrom. llvm-svn: 219184
Diffstat (limited to 'llvm/lib/Object/ObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions