aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/MetadataLoader.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2017-01-27 15:52:08 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2017-01-27 15:52:08 +0000
commit403b093eff905f45005f9c1fcfd4e2bcee8fa2f2 (patch)
treed6103461e15d857d91f00f9e183edecba60fced0 /llvm/lib/Bitcode/Reader/MetadataLoader.cpp
parent095d6b8f99cfe11045af84c949f08ddc513333f5 (diff)
downloadllvm-403b093eff905f45005f9c1fcfd4e2bcee8fa2f2.zip
llvm-403b093eff905f45005f9c1fcfd4e2bcee8fa2f2.tar.gz
llvm-403b093eff905f45005f9c1fcfd4e2bcee8fa2f2.tar.bz2
Fix and simplify the reporting of undefined symbols.
Now reportUndefined only has to look at Config->UnresolvedSymbols and the symbol. getUnresolvedSymbolOption does all the hard work of mapping options like -shared and -z defs to one of the UnresolvedPolicy enum entries. The critical fix is that now "-z defs --warn-unresolved-symbols" only warns. llvm-svn: 293290
Diffstat (limited to 'llvm/lib/Bitcode/Reader/MetadataLoader.cpp')
0 files changed, 0 insertions, 0 deletions