1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

[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.
This commit is contained in:
Lang Hames 2020-01-23 18:22:50 -08:00
parent 9e6a9d392e
commit 0c34e4d301
3 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ int main(int argc, char *argv[]) {
InitializeNativeTarget();
InitializeNativeTargetAsmPrinter();
cl::ParseCommandLineOptions(argc, argv, "HowToUseLLJIT");
cl::ParseCommandLineOptions(argc, argv, "LLJITDumpObjects");
ExitOnErr.setBanner(std::string(argv[0]) + ": ");
outs()

View File

@ -33,7 +33,7 @@ int main(int argc, char *argv[]) {
InitializeNativeTarget();
InitializeNativeTargetAsmPrinter();
cl::ParseCommandLineOptions(argc, argv, "HowToUseLLJIT");
cl::ParseCommandLineOptions(argc, argv, "LLJITWithCustomObjectLinkingLayer");
ExitOnErr.setBanner(std::string(argv[0]) + ": ");
// Detect the host and set code model to small.

View File

@ -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;