aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ModuleSymbolTable.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2018-03-19 23:04:04 +0000
committerRui Ueyama <ruiu@google.com>2018-03-19 23:04:04 +0000
commit048a669b92604266a5be28eda58608882fb46dd6 (patch)
treedc6fe701d9b961b776aa29a9dfd90b46f35b7408 /llvm/lib/Object/ModuleSymbolTable.cpp
parent6738960588d4c2cf5dea5d9d5fed52935e732446 (diff)
downloadllvm-048a669b92604266a5be28eda58608882fb46dd6.zip
llvm-048a669b92604266a5be28eda58608882fb46dd6.tar.gz
llvm-048a669b92604266a5be28eda58608882fb46dd6.tar.bz2
allow-multiple-definitions should completely suppress errors instead of making them warnings.
We found that when you pass --allow-multiple-definitions or `-z muldefs` to GNU linkers, they don't complain about duplicate symbols at all. They don't even print out warnings on it. We emit warnings in that case. If you pass --fatal-warnings, that difference results in a link failure. Differential Revision: https://reviews.llvm.org/D44549 llvm-svn: 327920
Diffstat (limited to 'llvm/lib/Object/ModuleSymbolTable.cpp')
0 files changed, 0 insertions, 0 deletions