summaryrefslogtreecommitdiffstats
path: root/llvm/lib/LTO
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-10-02 21:11:04 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-10-02 21:11:04 +0000
commitf02fe70805248e3c66dabb003e5028e4c561215b (patch)
treea98459e2cfdf1ae2316937703b37a127ccd6260f /llvm/lib/LTO
parent12d1ce540883d5d60a44459b96ff729016c5c01c (diff)
downloadbcm5719-llvm-f02fe70805248e3c66dabb003e5028e4c561215b.tar.gz
bcm5719-llvm-f02fe70805248e3c66dabb003e5028e4c561215b.zip
LTO: Document the Boolean argument from r218784
llvm-svn: 218907
Diffstat (limited to 'llvm/lib/LTO')
-rw-r--r--llvm/lib/LTO/LTOCodeGenerator.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/LTO/LTOCodeGenerator.cpp b/llvm/lib/LTO/LTOCodeGenerator.cpp
index 75ca56fbbe7..3d7c5cead17 100644
--- a/llvm/lib/LTO/LTOCodeGenerator.cpp
+++ b/llvm/lib/LTO/LTOCodeGenerator.cpp
@@ -558,5 +558,6 @@ LTOCodeGenerator::setDiagnosticHandler(lto_diagnostic_handler_t DiagHandler,
return Context.setDiagnosticHandler(nullptr, nullptr);
// Register the LTOCodeGenerator stub in the LLVMContext to forward the
// diagnostic to the external DiagHandler.
- Context.setDiagnosticHandler(LTOCodeGenerator::DiagnosticHandler, this, true);
+ Context.setDiagnosticHandler(LTOCodeGenerator::DiagnosticHandler, this,
+ /* RespectFilters */ true);
}
OpenPOWER on IntegriCloud