[llvm] 2ddfac0 - [Orc][examples] Actually return MainResult from main
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 14 15:11:48 PDT 2020
Author: Lang Hames
Date: 2020-03-14T15:11:23-07:00
New Revision: 2ddfac0607036284bc9464ae2a3cbdf28c95812b
URL: https://github.com/llvm/llvm-project/commit/2ddfac0607036284bc9464ae2a3cbdf28c95812b
DIFF: https://github.com/llvm/llvm-project/commit/2ddfac0607036284bc9464ae2a3cbdf28c95812b.diff
LOG: [Orc][examples] Actually return MainResult from main
Added:
Modified:
llvm/examples/OrcV2Examples/BasicOrcV2CBindings/BasicOrcV2CBindings.c
Removed:
################################################################################
diff --git a/llvm/examples/OrcV2Examples/BasicOrcV2CBindings/BasicOrcV2CBindings.c b/llvm/examples/OrcV2Examples/BasicOrcV2CBindings/BasicOrcV2CBindings.c
index 11d4f36fd19c..0fcf453db5f8 100644
--- a/llvm/examples/OrcV2Examples/BasicOrcV2CBindings/BasicOrcV2CBindings.c
+++ b/llvm/examples/OrcV2Examples/BasicOrcV2CBindings/BasicOrcV2CBindings.c
@@ -138,5 +138,6 @@ int main(int argc, char *argv[]) {
llvm_shutdown:
// Shut down LLVM.
LLVMShutdown();
- return 0;
+
+ return MainResult;
}
More information about the llvm-commits
mailing list