1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00

[Orc][examples] Fix copy/paste issues in comments and inclue guards (NFC)

This commit is contained in:
Stefan Gränitz 2021-03-17 14:22:41 +01:00
parent 56b9e804f2
commit ecba2bfe16
2 changed files with 5 additions and 5 deletions

View File

@ -10,8 +10,8 @@
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_EXAMPLES_HOWTOUSELLJIT_EXAMPLEMODULES_H
#define LLVM_EXAMPLES_HOWTOUSELLJIT_EXAMPLEMODULES_H
#ifndef LLVM_EXAMPLES_ORCV2EXAMPLES_EXAMPLEMODULES_H
#define LLVM_EXAMPLES_ORCV2EXAMPLES_EXAMPLEMODULES_H
#include "llvm/ADT/StringRef.h"
#include "llvm/ExecutionEngine/Orc/ThreadSafeModule.h"
@ -52,4 +52,4 @@ parseExampleModule(llvm::StringRef Source, llvm::StringRef Name) {
return ThreadSafeModule(std::move(M), std::move(Ctx));
}
#endif // LLVM_EXAMPLES_HOWTOUSELLJIT_EXAMPLEMODULES_H
#endif // LLVM_EXAMPLES_ORCV2EXAMPLES_EXAMPLEMODULES_H

View File

@ -1,4 +1,4 @@
//===--------------- LLJITWithCustomObjectLinkingLayer.cpp ----------------===//
//===--------------- LLJITWithGDBRegistrationListener.cpp -----------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@ -48,7 +48,7 @@ int main(int argc, char *argv[]) {
InitializeNativeTarget();
InitializeNativeTargetAsmPrinter();
cl::ParseCommandLineOptions(argc, argv, "LLJITWithCustomObjectLinkingLayer");
cl::ParseCommandLineOptions(argc, argv, "LLJITWithGDBRegistrationListener");
ExitOnErr.setBanner(std::string(argv[0]) + ": ");
// Detect the host and set code model to small.