These examples were all copied and adapted from the original HowToUseLLJIT
example code, however the calls to cl::ParseCommandLineOptions were not
updated.
InitializeNativeTarget();
InitializeNativeTargetAsmPrinter();
- cl::ParseCommandLineOptions(argc, argv, "HowToUseLLJIT");
+ cl::ParseCommandLineOptions(argc, argv, "LLJITDumpObjects");
ExitOnErr.setBanner(std::string(argv[0]) + ": ");
outs()
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.
InitializeNativeTarget();
InitializeNativeTargetAsmPrinter();
- cl::ParseCommandLineOptions(argc, argv, "HowToUseLLJIT");
+ cl::ParseCommandLineOptions(argc, argv, "LLJITWithObjectCache");
ExitOnErr.setBanner(std::string(argv[0]) + ": ");
MyObjectCache MyCache;