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 5cae9dd commit f11d7d5Copy full SHA for f11d7d5
llvm/tools/llvm-lto2/llvm-lto2.cpp
@@ -610,7 +610,9 @@ int main(int argc, char **argv) {
610
return dumpSymtab(argc - 1, argv + 1);
611
if (Subcommand == "run")
612
return run(argc - 1, argv + 1);
613
- if (Subcommand == "print-guid" && argc > 2)
614
- outs() << GlobalValue::getGUIDAssumingExternalLinkage(argv[2]);
+ if (Subcommand == "print-guid" && argc > 2) {
+ outs() << GlobalValue::getGUIDAssumingExternalLinkage(argv[2]) << '\n';
615
+ return 0;
616
+ }
617
return usage();
618
}
0 commit comments