summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/IRSymtab.cpp
diff options
context:
space:
mode:
authorBob Haarman <llvm@inglorion.net>2019-01-24 21:41:03 +0000
committerBob Haarman <llvm@inglorion.net>2019-01-24 21:41:03 +0000
commit38ebaf7d5d25ef3113a6ab4bf19ed4e1869373ab (patch)
tree6a932c8d90261a5e6c4bbabe25bc1495fd80ea12 /llvm/lib/Object/IRSymtab.cpp
parentcb52cd4d7f41eab2f3edf17234f4dd73b760d019 (diff)
downloadbcm5719-llvm-38ebaf7d5d25ef3113a6ab4bf19ed4e1869373ab.tar.gz
bcm5719-llvm-38ebaf7d5d25ef3113a6ab4bf19ed4e1869373ab.zip
allow COFF .def directive in module assembly when using ThinLTO
Summary: Using COFF's .def directive in module assembly used to crash ThinLTO with "this directive only supported on COFF targets" when getting symbol information in ModuleSymbolTable. This change allows ModuleSymbolTable to process such code and adds a test to verify that the .def directive has the desired effect on the native object file, with and without ThinLTO. Fixes https://bugs.llvm.org/show_bug.cgi?id=36789 Reviewers: rnk, pcc, vlad.tsyrklevich Subscribers: mehdi_amini, eraman, hiraditya, dexonsmith, llvm-commits Differential Revision: https://reviews.llvm.org/D57073 llvm-svn: 352112
Diffstat (limited to 'llvm/lib/Object/IRSymtab.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud