[llvm] 33a55c3 - [gn build] Fix gn build

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 14 09:22:20 PDT 2023


Author: Arthur Eubanks
Date: 2023-03-14T09:21:36-07:00
New Revision: 33a55c3d8c73a60bad6572fe58452acc0975d0d0

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

LOG: [gn build] Fix gn build

Added: 
    llvm/utils/gn/secondary/lldb/source/Plugins/ObjectFile/Placeholder/BUILD.gn

Modified: 
    llvm/utils/gn/secondary/clang/lib/Driver/BUILD.gn
    llvm/utils/gn/secondary/lldb/source/Plugins/BUILD.gn
    llvm/utils/gn/secondary/lldb/source/Plugins/Process/Utility/BUILD.gn
    llvm/utils/gn/secondary/llvm/lib/Analysis/BUILD.gn

Removed: 
    


################################################################################
diff  --git a/llvm/utils/gn/secondary/clang/lib/Driver/BUILD.gn b/llvm/utils/gn/secondary/clang/lib/Driver/BUILD.gn
index e02a25c1b3bf5..9ae76c3350a4f 100644
--- a/llvm/utils/gn/secondary/clang/lib/Driver/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/lib/Driver/BUILD.gn
@@ -92,6 +92,7 @@ static_library("Driver") {
     "ToolChains/Myriad.cpp",
     "ToolChains/NaCl.cpp",
     "ToolChains/NetBSD.cpp",
+    "ToolChains/OHOS.cpp",
     "ToolChains/OpenBSD.cpp",
     "ToolChains/PPCFreeBSD.cpp",
     "ToolChains/PPCLinux.cpp",

diff  --git a/llvm/utils/gn/secondary/lldb/source/Plugins/BUILD.gn b/llvm/utils/gn/secondary/lldb/source/Plugins/BUILD.gn
index ca5e55453365e..83d4898cf53f3 100644
--- a/llvm/utils/gn/secondary/lldb/source/Plugins/BUILD.gn
+++ b/llvm/utils/gn/secondary/lldb/source/Plugins/BUILD.gn
@@ -104,6 +104,10 @@ lldb_plugins += [
     "//lldb/source/Plugins/ObjectFile/PECOFF",
     "ObjectFilePECOFF",
   ],
+  [
+    "//lldb/source/Plugins/ObjectFile/Placeholder",
+    "ObjectFilePlaceholder",
+  ],
   [
     "//lldb/source/Plugins/ObjectFile/wasm",
     "ObjectFileWasm",

diff  --git a/llvm/utils/gn/secondary/lldb/source/Plugins/ObjectFile/Placeholder/BUILD.gn b/llvm/utils/gn/secondary/lldb/source/Plugins/ObjectFile/Placeholder/BUILD.gn
new file mode 100644
index 0000000000000..bf13b3e1a2953
--- /dev/null
+++ b/llvm/utils/gn/secondary/lldb/source/Plugins/ObjectFile/Placeholder/BUILD.gn
@@ -0,0 +1,18 @@
+static_library("Placeholder") {
+  output_name = "lldbPluginObjectFilePlaceholder"
+  configs += [ "//llvm/utils/gn/build:lldb_code" ]
+  deps = [
+    "//lldb/source/Core",
+    "//lldb/source/Host",
+    "//lldb/source/Symbol",
+    "//lldb/source/Target",
+    "//llvm/lib/Support",
+    "//llvm/lib/TargetParser",
+  ]
+
+  # Reaches into Plugins/Process/Utility.
+##include_dirs = [ "//lldb/source" ]
+  sources = [
+    "ObjectFilePlaceholder.cpp",
+  ]
+}

diff  --git a/llvm/utils/gn/secondary/lldb/source/Plugins/Process/Utility/BUILD.gn b/llvm/utils/gn/secondary/lldb/source/Plugins/Process/Utility/BUILD.gn
index db4600e315a7a..4f50b8fa5964e 100644
--- a/llvm/utils/gn/secondary/lldb/source/Plugins/Process/Utility/BUILD.gn
+++ b/llvm/utils/gn/secondary/lldb/source/Plugins/Process/Utility/BUILD.gn
@@ -27,7 +27,6 @@ static_library("Utility") {
     "LinuxProcMaps.cpp",
     "LinuxSignals.cpp",
     "MemoryTagManagerAArch64MTE.cpp",
-    "MipsLinuxSignals.cpp",
     "NativeProcessSoftwareSingleStep.cpp",
     "NativeRegisterContextDBReg_arm64.cpp",
     "NativeRegisterContextDBReg_x86.cpp",

diff  --git a/llvm/utils/gn/secondary/llvm/lib/Analysis/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Analysis/BUILD.gn
index 940df6e0b76bd..23dd1cbd79c36 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Analysis/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Analysis/BUILD.gn
@@ -76,7 +76,6 @@ static_library("Analysis") {
     "Lint.cpp",
     "Loads.cpp",
     "Local.cpp",
-    "LogicCombine.cpp",
     "LoopAccessAnalysis.cpp",
     "LoopAnalysisManager.cpp",
     "LoopCacheAnalysis.cpp",


        


More information about the llvm-commits mailing list