forked from OSchip/llvm-project
[JITLink] Remove a lot of reduntant 'JITLink_' prefixes. NFC.
llvm-svn: 358869
This commit is contained in:
parent
e1f3191a0d
commit
1233c15be5
|
@ -1,4 +1,4 @@
|
|||
//===----- JITLink_EHFrameSupport.h - JITLink eh-frame utils ----*- C++ -*-===//
|
||||
//===--------- EHFrameSupport.h - JITLink eh-frame utils --------*- C++ -*-===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
// See https://llvm.org/LICENSE.txt for license information.
|
||||
|
@ -10,8 +10,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_EXECUTIONENGINE_JITLINK_JITLINK_EHFRAMESUPPORT_H
|
||||
#define LLVM_EXECUTIONENGINE_JITLINK_JITLINK_EHFRAMESUPPORT_H
|
||||
#ifndef LLVM_EXECUTIONENGINE_JITLINK_EHFRAMESUPPORT_H
|
||||
#define LLVM_EXECUTIONENGINE_JITLINK_EHFRAMESUPPORT_H
|
||||
|
||||
#include "llvm/ADT/Triple.h"
|
||||
#include "llvm/ExecutionEngine/JITLink/JITLink.h"
|
||||
|
@ -39,4 +39,4 @@ AtomGraphPassFunction createEHFrameRecorderPass(const Triple &TT,
|
|||
} // end namespace jitlink
|
||||
} // end namespace llvm
|
||||
|
||||
#endif // LLVM_EXECUTIONENGINE_JITLINK_JITLINK_EHFRAMESUPPORT_H
|
||||
#endif // LLVM_EXECUTIONENGINE_JITLINK_EHFRAMESUPPORT_H
|
|
@ -1,4 +1,4 @@
|
|||
//===--- JITLink_MachO.h - Generic JIT link function for MachO --*- C++ -*-===//
|
||||
//===------- MachO.h - Generic JIT link function for MachO ------*- C++ -*-===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
// See https://llvm.org/LICENSE.txt for license information.
|
||||
|
@ -10,8 +10,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_EXECUTIONENGINE_JITLINK_JITLINK_MACHO_H
|
||||
#define LLVM_EXECUTIONENGINE_JITLINK_JITLINK_MACHO_H
|
||||
#ifndef LLVM_EXECUTIONENGINE_JITLINK_MACHO_H
|
||||
#define LLVM_EXECUTIONENGINE_JITLINK_MACHO_H
|
||||
|
||||
#include "llvm/ExecutionEngine/JITLink/JITLink.h"
|
||||
|
||||
|
@ -27,4 +27,4 @@ void jitLink_MachO(std::unique_ptr<JITLinkContext> Ctx);
|
|||
} // end namespace jitlink
|
||||
} // end namespace llvm
|
||||
|
||||
#endif // LLVM_EXECUTIONENGINE_JITLINK_JITLINK_MACHO_X86_64_H
|
||||
#endif // LLVM_EXECUTIONENGINE_JITLINK_MACHO_H
|
|
@ -1,4 +1,4 @@
|
|||
//===--- JITLink_MachO_x86_64.h - JIT link functions for MachO --*- C++ -*-===//
|
||||
//===--- MachO_x86_64.h - JIT link functions for MachO/x86-64 ---*- C++ -*-===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
// See https://llvm.org/LICENSE.txt for license information.
|
||||
|
@ -10,8 +10,8 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_EXECUTIONENGINE_JITLINK_JITLINK_MACHO_X86_64_H
|
||||
#define LLVM_EXECUTIONENGINE_JITLINK_JITLINK_MACHO_X86_64_H
|
||||
#ifndef LLVM_EXECUTIONENGINE_JITLINK_MACHO_X86_64_H
|
||||
#define LLVM_EXECUTIONENGINE_JITLINK_MACHO_X86_64_H
|
||||
|
||||
#include "llvm/ExecutionEngine/JITLink/JITLink.h"
|
||||
|
||||
|
@ -60,4 +60,4 @@ StringRef getMachOX86RelocationKindName(Edge::Kind R);
|
|||
} // end namespace jitlink
|
||||
} // end namespace llvm
|
||||
|
||||
#endif // LLVM_EXECUTIONENGINE_JITLINK_JITLINK_MACHO_X86_64_H
|
||||
#endif // LLVM_EXECUTIONENGINE_JITLINK_MACHO_X86_64_H
|
|
@ -1,9 +1,9 @@
|
|||
add_llvm_library(LLVMJITLink
|
||||
JITLink.cpp
|
||||
JITLinkGeneric.cpp
|
||||
JITLink_EHFrameSupport.cpp
|
||||
JITLink_MachO.cpp
|
||||
JITLink_MachO_x86_64.cpp
|
||||
EHFrameSupport.cpp
|
||||
MachO.cpp
|
||||
MachO_x86_64.cpp
|
||||
MachOAtomGraphBuilder.cpp
|
||||
|
||||
DEPENDS
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "JITLink_EHFrameSupportImpl.h"
|
||||
#include "EHFrameSupportImpl.h"
|
||||
|
||||
#include "llvm/BinaryFormat/Dwarf.h"
|
||||
#include "llvm/Support/DynamicLibrary.h"
|
|
@ -1,4 +1,4 @@
|
|||
//===----- JITLink_EHFrameSupport.h - JITLink eh-frame utils ----*- C++ -*-===//
|
||||
//===------- EHFrameSupportImpl.h - JITLink eh-frame utils ------*- C++ -*-===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
// See https://llvm.org/LICENSE.txt for license information.
|
||||
|
@ -10,10 +10,10 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_LIB_EXECUTIONENGINE_JITLINK_JITLINK_EHFRAMESUPPORTIMPL_H
|
||||
#define LLVM_LIB_EXECUTIONENGINE_JITLINK_JITLINK_EHFRAMESUPPORTIMPL_H
|
||||
#ifndef LLVM_LIB_EXECUTIONENGINE_JITLINK_EHFRAMESUPPORTIMPL_H
|
||||
#define LLVM_LIB_EXECUTIONENGINE_JITLINK_EHFRAMESUPPORTIMPL_H
|
||||
|
||||
#include "llvm/ExecutionEngine/JITLink/JITLink_EHFrameSupport.h"
|
||||
#include "llvm/ExecutionEngine/JITLink/EHFrameSupport.h"
|
||||
|
||||
#include "llvm/ExecutionEngine/JITLink/JITLink.h"
|
||||
#include "llvm/Support/BinaryStreamReader.h"
|
||||
|
@ -62,4 +62,4 @@ Error addEHFrame(AtomGraph &G, Section &EHFrameSection,
|
|||
} // end namespace jitlink
|
||||
} // end namespace llvm
|
||||
|
||||
#endif // LLVM_LIB_EXECUTIONENGINE_JITLINK_JITLINK_EHFRAMESUPPORTIMPL_H
|
||||
#endif // LLVM_LIB_EXECUTIONENGINE_JITLINK_EHFRAMESUPPORTIMPL_H
|
|
@ -10,7 +10,7 @@
|
|||
#include "llvm/ExecutionEngine/JITLink/JITLink.h"
|
||||
|
||||
#include "llvm/BinaryFormat/Magic.h"
|
||||
#include "llvm/ExecutionEngine/JITLink/JITLink_MachO.h"
|
||||
#include "llvm/ExecutionEngine/JITLink/MachO.h"
|
||||
#include "llvm/Support/Format.h"
|
||||
#include "llvm/Support/ManagedStatic.h"
|
||||
#include "llvm/Support/MemoryBuffer.h"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "JITLinkGeneric.h"
|
||||
#include "JITLink_EHFrameSupportImpl.h"
|
||||
#include "EHFrameSupportImpl.h"
|
||||
|
||||
#include "llvm/Support/BinaryStreamReader.h"
|
||||
#include "llvm/Support/MemoryBuffer.h"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//===------------ JITLink.cpp - Run-time JIT linker for MachO -------------===//
|
||||
//===-------------- MachO.cpp - JIT linker function for MachO -------------===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
|
@ -6,11 +6,15 @@
|
|||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// MachO jit-link function.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/ExecutionEngine/JITLink/JITLink_MachO.h"
|
||||
#include "llvm/ExecutionEngine/JITLink/MachO.h"
|
||||
|
||||
#include "llvm/BinaryFormat/MachO.h"
|
||||
#include "llvm/ExecutionEngine/JITLink/JITLink_MachO_x86_64.h"
|
||||
#include "llvm/ExecutionEngine/JITLink/MachO_x86_64.h"
|
||||
#include "llvm/Support/Endian.h"
|
||||
#include "llvm/Support/Format.h"
|
||||
#include "llvm/Support/MemoryBuffer.h"
|
|
@ -1,4 +1,4 @@
|
|||
//===------- JITLink_MachO_x86_64.cpp - JIT linker functionality ----------===//
|
||||
//===---- MachO_x86_64.cpp -JIT linker implementation for MachO/x86-64 ----===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
// See https://llvm.org/LICENSE.txt for license information.
|
||||
|
@ -6,11 +6,11 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// MachO jit-link implementation.
|
||||
// MachO/x86-64 jit-link implementation.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/ExecutionEngine/JITLink/JITLink_MachO_x86_64.h"
|
||||
#include "llvm/ExecutionEngine/JITLink/MachO_x86_64.h"
|
||||
|
||||
#include "BasicGOTAndStubsBuilder.h"
|
||||
#include "MachOAtomGraphBuilder.h"
|
|
@ -9,7 +9,7 @@
|
|||
#include "llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h"
|
||||
|
||||
#include "llvm/ADT/Optional.h"
|
||||
#include "llvm/ExecutionEngine/JITLink/JITLink_EHFrameSupport.h"
|
||||
#include "llvm/ExecutionEngine/JITLink/EHFrameSupport.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ set(LLVM_LINK_COMPONENTS
|
|||
|
||||
add_llvm_unittest(JITLinkTests
|
||||
JITLinkTestCommon.cpp
|
||||
JITLinkTest_MachO_x86_64_Tests.cpp
|
||||
MachO_x86_64_Tests.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(JITLinkTests PRIVATE LLVMTestingSupport)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//===---- JITLinkTest_MachO_x86_64.cpp - Tests for JITLink MachO/x86-64 ---===//
|
||||
//===--------- MachO_x86_64.cpp - Tests for JITLink MachO/x86-64 ----------===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
// See https://llvm.org/LICENSE.txt for license information.
|
||||
|
@ -9,7 +9,7 @@
|
|||
#include "JITLinkTestCommon.h"
|
||||
|
||||
#include "llvm/ADT/DenseSet.h"
|
||||
#include "llvm/ExecutionEngine/JITLink/JITLink_MachO_x86_64.h"
|
||||
#include "llvm/ExecutionEngine/JITLink/MachO_x86_64.h"
|
||||
#include "llvm/Testing/Support/Error.h"
|
||||
|
||||
#include "gtest/gtest.h"
|
Loading…
Reference in New Issue