aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/COFFObjectFile.cpp
diff options
context:
space:
mode:
authorMehdi Amini <mehdi.amini@apple.com>2016-05-28 17:26:03 +0000
committerMehdi Amini <mehdi.amini@apple.com>2016-05-28 17:26:03 +0000
commitbcc47419d9a88e6b58a9e2a7c0ee4c7bf43e91b4 (patch)
tree9882cd837b184dd2c913b6080591860958f7dd5d /llvm/lib/Object/COFFObjectFile.cpp
parent9c3eb5960ad8c225cf577c38423f435f6a7184e3 (diff)
downloadllvm-bcc47419d9a88e6b58a9e2a7c0ee4c7bf43e91b4.zip
llvm-bcc47419d9a88e6b58a9e2a7c0ee4c7bf43e91b4.tar.gz
llvm-bcc47419d9a88e6b58a9e2a7c0ee4c7bf43e91b4.tar.bz2
ValueMapper: fix assertion when null-mapping a constant for linking metadata
Summary: When RF_NullMapMissingGlobalValues is set, mapValue can return null for GlobalValue. When mapping the operands of a constant that is referenced from metadata, we need to handle this case and actually return null instead of mapping this constant. Reviewers: dexonsmith, rafael Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D20713 llvm-svn: 271129
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions