[Lldb-commits] [lldb] be96042 - [lldb/Plugin] Move DisassemblerLLVMC for consistency with plugin (NFC)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Tue Jan 21 15:18:31 PST 2020


Author: Jonas Devlieghere
Date: 2020-01-21T15:17:29-08:00
New Revision: be9604247e33146b53f270fd35c4a7c4a44fda53

URL: https://github.com/llvm/llvm-project/commit/be9604247e33146b53f270fd35c4a7c4a44fda53
DIFF: https://github.com/llvm/llvm-project/commit/be9604247e33146b53f270fd35c4a7c4a44fda53.diff

LOG: [lldb/Plugin] Move DisassemblerLLVMC for consistency with plugin (NFC)

Rename the DisassemblerLLVMC directory from llvm to LLVMC to match the
plugin name.

Added: 
    lldb/source/Plugins/Disassembler/LLVMC/CMakeLists.txt
    lldb/source/Plugins/Disassembler/LLVMC/DisassemblerLLVMC.cpp
    lldb/source/Plugins/Disassembler/LLVMC/DisassemblerLLVMC.h

Modified: 
    lldb/source/API/SystemInitializerFull.cpp
    lldb/source/Plugins/Disassembler/CMakeLists.txt
    lldb/tools/lldb-test/SystemInitializerTest.cpp
    lldb/unittests/Disassembler/TestArm64Disassembly.cpp
    lldb/unittests/Disassembler/TestArmv7Disassembly.cpp
    lldb/unittests/UnwindAssembly/ARM64/TestArm64InstEmulation.cpp
    lldb/unittests/UnwindAssembly/PPC64/TestPPC64InstEmulation.cpp

Removed: 
    lldb/source/Plugins/Disassembler/llvm/CMakeLists.txt
    lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp
    lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.h


################################################################################
diff  --git a/lldb/source/API/SystemInitializerFull.cpp b/lldb/source/API/SystemInitializerFull.cpp
index 720f1aad744b..6ae538045ffb 100644
--- a/lldb/source/API/SystemInitializerFull.cpp
+++ b/lldb/source/API/SystemInitializerFull.cpp
@@ -43,7 +43,7 @@
 #include "Plugins/Architecture/Arm/ArchitectureArm.h"
 #include "Plugins/Architecture/Mips/ArchitectureMips.h"
 #include "Plugins/Architecture/PPC64/ArchitecturePPC64.h"
-#include "Plugins/Disassembler/llvm/DisassemblerLLVMC.h"
+#include "Plugins/Disassembler/LLVMC/DisassemblerLLVMC.h"
 #include "Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.h"
 #include "Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.h"
 #include "Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h"

diff  --git a/lldb/source/Plugins/Disassembler/CMakeLists.txt b/lldb/source/Plugins/Disassembler/CMakeLists.txt
index 6e3c904d5a60..bec56765b60f 100644
--- a/lldb/source/Plugins/Disassembler/CMakeLists.txt
+++ b/lldb/source/Plugins/Disassembler/CMakeLists.txt
@@ -1 +1 @@
-add_subdirectory(llvm)
+add_subdirectory(LLVMC)

diff  --git a/lldb/source/Plugins/Disassembler/llvm/CMakeLists.txt b/lldb/source/Plugins/Disassembler/LLVMC/CMakeLists.txt
similarity index 100%
rename from lldb/source/Plugins/Disassembler/llvm/CMakeLists.txt
rename to lldb/source/Plugins/Disassembler/LLVMC/CMakeLists.txt

diff  --git a/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp b/lldb/source/Plugins/Disassembler/LLVMC/DisassemblerLLVMC.cpp
similarity index 100%
rename from lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp
rename to lldb/source/Plugins/Disassembler/LLVMC/DisassemblerLLVMC.cpp

diff  --git a/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.h b/lldb/source/Plugins/Disassembler/LLVMC/DisassemblerLLVMC.h
similarity index 100%
rename from lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.h
rename to lldb/source/Plugins/Disassembler/LLVMC/DisassemblerLLVMC.h

diff  --git a/lldb/tools/lldb-test/SystemInitializerTest.cpp b/lldb/tools/lldb-test/SystemInitializerTest.cpp
index b6cd146f4d88..d6c52f54998a 100644
--- a/lldb/tools/lldb-test/SystemInitializerTest.cpp
+++ b/lldb/tools/lldb-test/SystemInitializerTest.cpp
@@ -33,7 +33,7 @@
 #include "Plugins/Architecture/Arm/ArchitectureArm.h"
 #include "Plugins/Architecture/Mips/ArchitectureMips.h"
 #include "Plugins/Architecture/PPC64/ArchitecturePPC64.h"
-#include "Plugins/Disassembler/llvm/DisassemblerLLVMC.h"
+#include "Plugins/Disassembler/LLVMC/DisassemblerLLVMC.h"
 #include "Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.h"
 #include "Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.h"
 #include "Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h"

diff  --git a/lldb/unittests/Disassembler/TestArm64Disassembly.cpp b/lldb/unittests/Disassembler/TestArm64Disassembly.cpp
index 2f631a64a0c5..23c8b6685701 100644
--- a/lldb/unittests/Disassembler/TestArm64Disassembly.cpp
+++ b/lldb/unittests/Disassembler/TestArm64Disassembly.cpp
@@ -15,7 +15,7 @@
 #include "lldb/Utility/ArchSpec.h"
 #include "lldb/Target/ExecutionContext.h"
 
-#include "Plugins/Disassembler/llvm/DisassemblerLLVMC.h"
+#include "Plugins/Disassembler/LLVMC/DisassemblerLLVMC.h"
 #include "llvm/Support/TargetSelect.h"
 
 using namespace lldb;

diff  --git a/lldb/unittests/Disassembler/TestArmv7Disassembly.cpp b/lldb/unittests/Disassembler/TestArmv7Disassembly.cpp
index 2acf818ff012..2b1253137df5 100644
--- a/lldb/unittests/Disassembler/TestArmv7Disassembly.cpp
+++ b/lldb/unittests/Disassembler/TestArmv7Disassembly.cpp
@@ -15,7 +15,7 @@
 #include "lldb/Utility/ArchSpec.h"
 #include "lldb/Target/ExecutionContext.h"
 
-#include "Plugins/Disassembler/llvm/DisassemblerLLVMC.h"
+#include "Plugins/Disassembler/LLVMC/DisassemblerLLVMC.h"
 #include "llvm/Support/TargetSelect.h"
 
 using namespace lldb;

diff  --git a/lldb/unittests/UnwindAssembly/ARM64/TestArm64InstEmulation.cpp b/lldb/unittests/UnwindAssembly/ARM64/TestArm64InstEmulation.cpp
index d853e6fb43c0..6429b0718fca 100644
--- a/lldb/unittests/UnwindAssembly/ARM64/TestArm64InstEmulation.cpp
+++ b/lldb/unittests/UnwindAssembly/ARM64/TestArm64InstEmulation.cpp
@@ -20,7 +20,7 @@
 #include "lldb/Target/UnwindAssembly.h"
 #include "lldb/Utility/ArchSpec.h"
 
-#include "Plugins/Disassembler/llvm/DisassemblerLLVMC.h"
+#include "Plugins/Disassembler/LLVMC/DisassemblerLLVMC.h"
 #include "Plugins/Instruction/ARM64/EmulateInstructionARM64.h"
 #include "Plugins/Process/Utility/lldb-arm64-register-enums.h"
 #include "llvm/Support/TargetSelect.h"

diff  --git a/lldb/unittests/UnwindAssembly/PPC64/TestPPC64InstEmulation.cpp b/lldb/unittests/UnwindAssembly/PPC64/TestPPC64InstEmulation.cpp
index faae6063841f..2178196bb3ec 100644
--- a/lldb/unittests/UnwindAssembly/PPC64/TestPPC64InstEmulation.cpp
+++ b/lldb/unittests/UnwindAssembly/PPC64/TestPPC64InstEmulation.cpp
@@ -18,7 +18,7 @@
 #include "lldb/Target/UnwindAssembly.h"
 #include "lldb/Utility/ArchSpec.h"
 
-#include "Plugins/Disassembler/llvm/DisassemblerLLVMC.h"
+#include "Plugins/Disassembler/LLVMC/DisassemblerLLVMC.h"
 #include "Plugins/Instruction/PPC64/EmulateInstructionPPC64.h"
 #include "Plugins/Process/Utility/lldb-ppc64le-register-enums.h"
 #include "llvm/Support/TargetSelect.h"


        


More information about the lldb-commits mailing list