aboutsummaryrefslogtreecommitdiff
path: root/llvm/examples/LLJITExamples/LLJITWithObjectCache/LLJITWithObjectCache.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2020-01-23 18:22:50 -0800
committerLang Hames <lhames@gmail.com>2020-01-23 19:18:16 -0800
commitfbb8642c1c4c5e7a435d05a81c07ca8efbd24899 (patch)
tree4387de10a66fef93e6e7d0259b5939a668f8636f /llvm/examples/LLJITExamples/LLJITWithObjectCache/LLJITWithObjectCache.cpp
parent46aa5c13c5fcefd3a33740d18cddd9155db37c79 (diff)
downloadllvm-fbb8642c1c4c5e7a435d05a81c07ca8efbd24899.zip
llvm-fbb8642c1c4c5e7a435d05a81c07ca8efbd24899.tar.gz
llvm-fbb8642c1c4c5e7a435d05a81c07ca8efbd24899.tar.bz2
[examples][ORC] Fix program names in calls to parse cl opt in examples.
These examples were all copied and adapted from the original HowToUseLLJIT example code, however the calls to cl::ParseCommandLineOptions were not updated.
Diffstat (limited to 'llvm/examples/LLJITExamples/LLJITWithObjectCache/LLJITWithObjectCache.cpp')
-rw-r--r--llvm/examples/LLJITExamples/LLJITWithObjectCache/LLJITWithObjectCache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/examples/LLJITExamples/LLJITWithObjectCache/LLJITWithObjectCache.cpp b/llvm/examples/LLJITExamples/LLJITWithObjectCache/LLJITWithObjectCache.cpp
index c7e4051..f94fd85 100644
--- a/llvm/examples/LLJITExamples/LLJITWithObjectCache/LLJITWithObjectCache.cpp
+++ b/llvm/examples/LLJITExamples/LLJITWithObjectCache/LLJITWithObjectCache.cpp
@@ -83,7 +83,7 @@ int main(int argc, char *argv[]) {
InitializeNativeTarget();
InitializeNativeTargetAsmPrinter();
- cl::ParseCommandLineOptions(argc, argv, "HowToUseLLJIT");
+ cl::ParseCommandLineOptions(argc, argv, "LLJITWithObjectCache");
ExitOnErr.setBanner(std::string(argv[0]) + ": ");
MyObjectCache MyCache;