[llvm] r371850 - Revert "gn build: (manually) merge r371834"

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 13 06:04:59 PDT 2019


Author: nico
Date: Fri Sep 13 06:04:59 2019
New Revision: 371850

URL: http://llvm.org/viewvc/llvm-project?rev=371850&view=rev
Log:
Revert "gn build: (manually) merge r371834"

This reverts commit abc7e2b6004cd693cf3b6dedbc7908e099c7ac6a.
The commit was incomplete. I'll revert and reland the full commit,
so that the correct change is a single commit.

Added:
    llvm/trunk/utils/gn/secondary/clang/lib/AST/Interp/
    llvm/trunk/utils/gn/secondary/clang/lib/AST/Interp/BUILD.gn
Modified:
    llvm/trunk/utils/gn/secondary/clang/lib/AST/BUILD.gn

Modified: llvm/trunk/utils/gn/secondary/clang/lib/AST/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/clang/lib/AST/BUILD.gn?rev=371850&r1=371849&r2=371850&view=diff
==============================================================================
--- llvm/trunk/utils/gn/secondary/clang/lib/AST/BUILD.gn (original)
+++ llvm/trunk/utils/gn/secondary/clang/lib/AST/BUILD.gn Fri Sep 13 06:04:59 2019
@@ -65,27 +65,6 @@ static_library("AST") {
     "ExternalASTSource.cpp",
     "FormatString.cpp",
     "InheritViz.cpp",
-    "Interp/Block.cpp",
-    "Interp/ByteCodeEmitter.cpp",
-    "Interp/ByteCodeExprGen.cpp",
-    "Interp/ByteCodeGenError.cpp",
-    "Interp/ByteCodeStmtGen.cpp",
-    "Interp/Context.cpp",
-    "Interp/Descriptor.cpp",
-    "Interp/Disasm.cpp",
-    "Interp/EvalEmitter.cpp",
-    "Interp/Frame.cpp",
-    "Interp/Function.cpp",
-    "Interp/Interp.cpp",
-    "Interp/InterpFrame.cpp",
-    "Interp/InterpStack.cpp",
-    "Interp/InterpState.cpp",
-    "Interp/Pointer.cpp",
-    "Interp/PrimType.cpp",
-    "Interp/Program.cpp",
-    "Interp/Record.cpp",
-    "Interp/Source.cpp",
-    "Interp/State.cpp",
     "ItaniumCXXABI.cpp",
     "ItaniumMangle.cpp",
     "JSONNodeDumper.cpp",

Added: llvm/trunk/utils/gn/secondary/clang/lib/AST/Interp/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/secondary/clang/lib/AST/Interp/BUILD.gn?rev=371850&view=auto
==============================================================================
--- llvm/trunk/utils/gn/secondary/clang/lib/AST/Interp/BUILD.gn (added)
+++ llvm/trunk/utils/gn/secondary/clang/lib/AST/Interp/BUILD.gn Fri Sep 13 06:04:59 2019
@@ -0,0 +1,39 @@
+import("//clang/utils/TableGen/clang_tablegen.gni")
+
+clang_tablegen("Opcodes") {
+  args = [ "-gen-clang-opcodes" ]
+  td_file = "Opcodes.td"
+}
+
+static_library("Interp") {
+  output_name = "clangInterp"
+  configs += [ "//llvm/utils/gn/build:clang_code" ]
+  deps = [
+    "//clang/lib/AST/Interp:Opcodes",
+    "//clang/lib/Basic",
+    "//llvm/lib/Support",
+  ]
+  sources = [
+    "Block.cpp",
+    "ByteCodeEmitter.cpp",
+    "ByteCodeExprGen.cpp",
+    "ByteCodeGenError.cpp",
+    "ByteCodeStmtGen.cpp",
+    "Context.cpp",
+    "Descriptor.cpp",
+    "Disasm.cpp",
+    "EvalEmitter.cpp",
+    "Frame.cpp",
+    "Function.cpp",
+    "Interp.cpp",
+    "InterpFrame.cpp",
+    "InterpStack.cpp",
+    "InterpState.cpp",
+    "Pointer.cpp",
+    "Program.cpp",
+    "Record.cpp",
+    "Source.cpp",
+    "State.cpp",
+    "Type.cpp",
+  ]
+}




More information about the llvm-commits mailing list