summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2016-07-04 14:54:23 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2016-07-04 14:54:23 +0000
commit5e37aeaf6a55f654dd72b6af08209d10cb17d990 (patch)
tree5f57d0edcd1ce0ea4d43f137d08998299aa04a24
parent02d435d2f46359a07572353124354f3f41a92209 (diff)
downloadbcm5719-llvm-5e37aeaf6a55f654dd72b6af08209d10cb17d990.tar.gz
bcm5719-llvm-5e37aeaf6a55f654dd72b6af08209d10cb17d990.zip
Fixed check-lld msan after r274504 "[ELF] - Implemented --fatal-warnings option."
Bot failed: http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fast/builds/14361/steps/check-lld%20msan/logs/stdio Fix: Initialize Config->FatalWarnings with false. As it might be used once a bit earlier than its initialization from command line arguments. llvm-svn: 274507
-rw-r--r--lld/ELF/Config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/Config.h b/lld/ELF/Config.h
index 3c9c7a1ea62..03f3d6cd618 100644
--- a/lld/ELF/Config.h
+++ b/lld/ELF/Config.h
@@ -81,7 +81,7 @@ struct Configuration {
bool EhFrameHdr;
bool EnableNewDtags;
bool ExportDynamic;
- bool FatalWarnings;
+ bool FatalWarnings = false;
bool GcSections;
bool GnuHash = false;
bool ICF;
OpenPOWER on IntegriCloud