Skip to content

Commit 1233c15

Browse files
committed
[JITLink] Remove a lot of reduntant 'JITLink_' prefixes. NFC.
llvm-svn: 358869
1 parent e1f3191 commit 1233c15

File tree

13 files changed

+37
-33
lines changed

13 files changed

+37
-33
lines changed

llvm/include/llvm/ExecutionEngine/JITLink/JITLink_EHFrameSupport.h renamed to llvm/include/llvm/ExecutionEngine/JITLink/EHFrameSupport.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===----- JITLink_EHFrameSupport.h - JITLink eh-frame utils ----*- C++ -*-===//
1+
//===--------- EHFrameSupport.h - JITLink eh-frame utils --------*- C++ -*-===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
@@ -10,8 +10,8 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
#ifndef LLVM_EXECUTIONENGINE_JITLINK_JITLINK_EHFRAMESUPPORT_H
14-
#define LLVM_EXECUTIONENGINE_JITLINK_JITLINK_EHFRAMESUPPORT_H
13+
#ifndef LLVM_EXECUTIONENGINE_JITLINK_EHFRAMESUPPORT_H
14+
#define LLVM_EXECUTIONENGINE_JITLINK_EHFRAMESUPPORT_H
1515

1616
#include "llvm/ADT/Triple.h"
1717
#include "llvm/ExecutionEngine/JITLink/JITLink.h"
@@ -39,4 +39,4 @@ AtomGraphPassFunction createEHFrameRecorderPass(const Triple &TT,
3939
} // end namespace jitlink
4040
} // end namespace llvm
4141

42-
#endif // LLVM_EXECUTIONENGINE_JITLINK_JITLINK_EHFRAMESUPPORT_H
42+
#endif // LLVM_EXECUTIONENGINE_JITLINK_EHFRAMESUPPORT_H

llvm/include/llvm/ExecutionEngine/JITLink/JITLink_MachO.h renamed to llvm/include/llvm/ExecutionEngine/JITLink/MachO.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===--- JITLink_MachO.h - Generic JIT link function for MachO --*- C++ -*-===//
1+
//===------- MachO.h - Generic JIT link function for MachO ------*- C++ -*-===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
@@ -10,8 +10,8 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
#ifndef LLVM_EXECUTIONENGINE_JITLINK_JITLINK_MACHO_H
14-
#define LLVM_EXECUTIONENGINE_JITLINK_JITLINK_MACHO_H
13+
#ifndef LLVM_EXECUTIONENGINE_JITLINK_MACHO_H
14+
#define LLVM_EXECUTIONENGINE_JITLINK_MACHO_H
1515

1616
#include "llvm/ExecutionEngine/JITLink/JITLink.h"
1717

@@ -27,4 +27,4 @@ void jitLink_MachO(std::unique_ptr<JITLinkContext> Ctx);
2727
} // end namespace jitlink
2828
} // end namespace llvm
2929

30-
#endif // LLVM_EXECUTIONENGINE_JITLINK_JITLINK_MACHO_X86_64_H
30+
#endif // LLVM_EXECUTIONENGINE_JITLINK_MACHO_H

llvm/include/llvm/ExecutionEngine/JITLink/JITLink_MachO_x86_64.h renamed to llvm/include/llvm/ExecutionEngine/JITLink/MachO_x86_64.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===--- JITLink_MachO_x86_64.h - JIT link functions for MachO --*- C++ -*-===//
1+
//===--- MachO_x86_64.h - JIT link functions for MachO/x86-64 ---*- C++ -*-===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
@@ -10,8 +10,8 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
#ifndef LLVM_EXECUTIONENGINE_JITLINK_JITLINK_MACHO_X86_64_H
14-
#define LLVM_EXECUTIONENGINE_JITLINK_JITLINK_MACHO_X86_64_H
13+
#ifndef LLVM_EXECUTIONENGINE_JITLINK_MACHO_X86_64_H
14+
#define LLVM_EXECUTIONENGINE_JITLINK_MACHO_X86_64_H
1515

1616
#include "llvm/ExecutionEngine/JITLink/JITLink.h"
1717

@@ -60,4 +60,4 @@ StringRef getMachOX86RelocationKindName(Edge::Kind R);
6060
} // end namespace jitlink
6161
} // end namespace llvm
6262

63-
#endif // LLVM_EXECUTIONENGINE_JITLINK_JITLINK_MACHO_X86_64_H
63+
#endif // LLVM_EXECUTIONENGINE_JITLINK_MACHO_X86_64_H

llvm/lib/ExecutionEngine/JITLink/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
add_llvm_library(LLVMJITLink
22
JITLink.cpp
33
JITLinkGeneric.cpp
4-
JITLink_EHFrameSupport.cpp
5-
JITLink_MachO.cpp
6-
JITLink_MachO_x86_64.cpp
4+
EHFrameSupport.cpp
5+
MachO.cpp
6+
MachO_x86_64.cpp
77
MachOAtomGraphBuilder.cpp
88

99
DEPENDS

llvm/lib/ExecutionEngine/JITLink/JITLink_EHFrameSupport.cpp renamed to llvm/lib/ExecutionEngine/JITLink/EHFrameSupport.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88
//===----------------------------------------------------------------------===//
99

10-
#include "JITLink_EHFrameSupportImpl.h"
10+
#include "EHFrameSupportImpl.h"
1111

1212
#include "llvm/BinaryFormat/Dwarf.h"
1313
#include "llvm/Support/DynamicLibrary.h"

llvm/lib/ExecutionEngine/JITLink/JITLink_EHFrameSupportImpl.h renamed to llvm/lib/ExecutionEngine/JITLink/EHFrameSupportImpl.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===----- JITLink_EHFrameSupport.h - JITLink eh-frame utils ----*- C++ -*-===//
1+
//===------- EHFrameSupportImpl.h - JITLink eh-frame utils ------*- C++ -*-===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
@@ -10,10 +10,10 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
#ifndef LLVM_LIB_EXECUTIONENGINE_JITLINK_JITLINK_EHFRAMESUPPORTIMPL_H
14-
#define LLVM_LIB_EXECUTIONENGINE_JITLINK_JITLINK_EHFRAMESUPPORTIMPL_H
13+
#ifndef LLVM_LIB_EXECUTIONENGINE_JITLINK_EHFRAMESUPPORTIMPL_H
14+
#define LLVM_LIB_EXECUTIONENGINE_JITLINK_EHFRAMESUPPORTIMPL_H
1515

16-
#include "llvm/ExecutionEngine/JITLink/JITLink_EHFrameSupport.h"
16+
#include "llvm/ExecutionEngine/JITLink/EHFrameSupport.h"
1717

1818
#include "llvm/ExecutionEngine/JITLink/JITLink.h"
1919
#include "llvm/Support/BinaryStreamReader.h"
@@ -62,4 +62,4 @@ Error addEHFrame(AtomGraph &G, Section &EHFrameSection,
6262
} // end namespace jitlink
6363
} // end namespace llvm
6464

65-
#endif // LLVM_LIB_EXECUTIONENGINE_JITLINK_JITLINK_EHFRAMESUPPORTIMPL_H
65+
#endif // LLVM_LIB_EXECUTIONENGINE_JITLINK_EHFRAMESUPPORTIMPL_H

llvm/lib/ExecutionEngine/JITLink/JITLink.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include "llvm/ExecutionEngine/JITLink/JITLink.h"
1111

1212
#include "llvm/BinaryFormat/Magic.h"
13-
#include "llvm/ExecutionEngine/JITLink/JITLink_MachO.h"
13+
#include "llvm/ExecutionEngine/JITLink/MachO.h"
1414
#include "llvm/Support/Format.h"
1515
#include "llvm/Support/ManagedStatic.h"
1616
#include "llvm/Support/MemoryBuffer.h"

llvm/lib/ExecutionEngine/JITLink/JITLinkGeneric.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
//===----------------------------------------------------------------------===//
1212

1313
#include "JITLinkGeneric.h"
14-
#include "JITLink_EHFrameSupportImpl.h"
14+
#include "EHFrameSupportImpl.h"
1515

1616
#include "llvm/Support/BinaryStreamReader.h"
1717
#include "llvm/Support/MemoryBuffer.h"

llvm/lib/ExecutionEngine/JITLink/JITLink_MachO.cpp renamed to llvm/lib/ExecutionEngine/JITLink/MachO.cpp

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
1-
//===------------ JITLink.cpp - Run-time JIT linker for MachO -------------===//
1+
//===-------------- MachO.cpp - JIT linker function for MachO -------------===//
22
//
33
// The LLVM Compiler Infrastructure
44
//
55
// This file is distributed under the University of Illinois Open Source
66
// License. See LICENSE.TXT for details.
77
//
88
//===----------------------------------------------------------------------===//
9+
//
10+
// MachO jit-link function.
11+
//
12+
//===----------------------------------------------------------------------===//
913

10-
#include "llvm/ExecutionEngine/JITLink/JITLink_MachO.h"
14+
#include "llvm/ExecutionEngine/JITLink/MachO.h"
1115

1216
#include "llvm/BinaryFormat/MachO.h"
13-
#include "llvm/ExecutionEngine/JITLink/JITLink_MachO_x86_64.h"
17+
#include "llvm/ExecutionEngine/JITLink/MachO_x86_64.h"
1418
#include "llvm/Support/Endian.h"
1519
#include "llvm/Support/Format.h"
1620
#include "llvm/Support/MemoryBuffer.h"

llvm/lib/ExecutionEngine/JITLink/JITLink_MachO_x86_64.cpp renamed to llvm/lib/ExecutionEngine/JITLink/MachO_x86_64.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
//===------- JITLink_MachO_x86_64.cpp - JIT linker functionality ----------===//
1+
//===---- MachO_x86_64.cpp -JIT linker implementation for MachO/x86-64 ----===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
88
//
9-
// MachO jit-link implementation.
9+
// MachO/x86-64 jit-link implementation.
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
#include "llvm/ExecutionEngine/JITLink/JITLink_MachO_x86_64.h"
13+
#include "llvm/ExecutionEngine/JITLink/MachO_x86_64.h"
1414

1515
#include "BasicGOTAndStubsBuilder.h"
1616
#include "MachOAtomGraphBuilder.h"

0 commit comments

Comments
 (0)