We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b512ce commit a9f01c0Copy full SHA for a9f01c0
src/passes/SetGlobals.cpp
@@ -41,7 +41,7 @@ struct SetGlobals : public Pass {
41
auto value = nameAndValue[1];
42
auto* glob = module->getGlobalOrNull(name);
43
if (!glob) {
44
- std::cerr << "warning: could not find global: " << name << '\n';
+ Fatal() << "Could not find global: " << name;
45
}
46
// Parse the input.
47
Literal lit;
0 commit comments