diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-01-30 14:34:09 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-01-30 14:34:09 -0800 |
commit | af92e650c34c394128ed8b91f88452f16389c7b3 (patch) | |
tree | 493bc36a82384864d1ac2d3fd450b275452d55f9 /lib/Transforms | |
parent | 5f387757a1cc34a63e5539a6abcb07a58472b05e (diff) |
suppress warnings on default nacl globals
Diffstat (limited to 'lib/Transforms')
-rw-r--r-- | lib/Transforms/NaCl/ExpandCtors.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/NaCl/ExpandCtors.cpp b/lib/Transforms/NaCl/ExpandCtors.cpp index fd38e2f0f1..705d5d4438 100644 --- a/lib/Transforms/NaCl/ExpandCtors.cpp +++ b/lib/Transforms/NaCl/ExpandCtors.cpp @@ -53,7 +53,7 @@ static void setGlobalVariableValue(Module &M, const char *Name, // and so does not call the functions in __init_array_start or // __fini_array_end. Such a program might be linked with // "-nostdlib". - errs() << "Warning: Variable " << Name << " not referenced\n"; + // XXX EMSCRIPTEN: not surprising for us when this happens errs() << "Warning: Variable " << Name << " not referenced\n"; } else { if (Var->hasInitializer()) { report_fatal_error(std::string("Variable ") + Name + |