diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2017-01-27 15:52:08 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2017-01-27 15:52:08 +0000 |
commit | 403b093eff905f45005f9c1fcfd4e2bcee8fa2f2 (patch) | |
tree | d6103461e15d857d91f00f9e183edecba60fced0 /llvm/lib/Bitcode/Reader/MetadataLoader.cpp | |
parent | 095d6b8f99cfe11045af84c949f08ddc513333f5 (diff) | |
download | llvm-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