[PATCH] D29150: Add --warn-unresolved-symbols and --error-unresolved-symbols options
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 25 17:19:19 PST 2017
ruiu added inline comments.
================
Comment at: ELF/Driver.cpp:347
+ return UnresolvedPolicy::Warn;
+ if (Arg->getOption().getID() == OPT_error_undef)
+ return UnresolvedPolicy::ReportError;
----------------
You don't need to check if it is OPT_error_undef because it always have to be that. You can just return ReportError.
Repository:
rL LLVM
https://reviews.llvm.org/D29150
More information about the llvm-commits
mailing list