summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/CodeView
diff options
context:
space:
mode:
authorDave Bartolomeo <dbartol@microsoft.com>2015-12-24 18:51:35 +0000
committerDave Bartolomeo <dbartol@microsoft.com>2015-12-24 18:51:35 +0000
commitdd38b1bf12dc7f54fb4ee4bc6265cad0ce930273 (patch)
treeef169fa2bd3cfb9f5be6794af967ec6a5c382da0 /llvm/lib/DebugInfo/CodeView
parentde0bfee769899bf6abb5c31449dbad839b676063 (diff)
downloadbcm5719-llvm-dd38b1bf12dc7f54fb4ee4bc6265cad0ce930273.tar.gz
bcm5719-llvm-dd38b1bf12dc7f54fb4ee4bc6265cad0ce930273.zip
Fix CodeView library name and non-CMake builds
llvm-svn: 256387
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView')
-rw-r--r--llvm/lib/DebugInfo/CodeView/CMakeLists.txt5
-rw-r--r--llvm/lib/DebugInfo/CodeView/LLVMBuild.txt6
-rw-r--r--llvm/lib/DebugInfo/CodeView/Makefile14
3 files changed, 21 insertions, 4 deletions
diff --git a/llvm/lib/DebugInfo/CodeView/CMakeLists.txt b/llvm/lib/DebugInfo/CodeView/CMakeLists.txt
index 7853949bdb5..cfa0e4d8b40 100644
--- a/llvm/lib/DebugInfo/CodeView/CMakeLists.txt
+++ b/llvm/lib/DebugInfo/CodeView/CMakeLists.txt
@@ -1,4 +1,4 @@
-add_llvm_library(LLVMCodeView
+add_llvm_library(LLVMDebugInfoCodeView
FieldListRecordBuilder.cpp
Line.cpp
ListRecordBuilder.cpp
@@ -6,4 +6,7 @@ add_llvm_library(LLVMCodeView
MethodListRecordBuilder.cpp
TypeRecordBuilder.cpp
TypeTableBuilder.cpp
+
+ ADDITIONAL_HEADER_DIRS
+ ${LLVM_MAIN_INCLUDE_DIR}/llvm/DebugInfo/CodeView
)
diff --git a/llvm/lib/DebugInfo/CodeView/LLVMBuild.txt b/llvm/lib/DebugInfo/CodeView/LLVMBuild.txt
index 8df016c5c50..4db23376fce 100644
--- a/llvm/lib/DebugInfo/CodeView/LLVMBuild.txt
+++ b/llvm/lib/DebugInfo/CodeView/LLVMBuild.txt
@@ -1,4 +1,4 @@
-;===- ./lib/CodeView/LLVMBuild.txt -------------------------------*- Conf -*--===;
+;===- ./lib/DebugInfo/CodeView/LLVMBuild.txt -------------------*- Conf -*--===;
;
; The LLVM Compiler Infrastructure
;
@@ -17,6 +17,6 @@
[component_0]
type = Library
-name = CodeView
-parent = Libraries
+name = DebugInfoCodeView
+parent = DebugInfo
required_libraries = Support
diff --git a/llvm/lib/DebugInfo/CodeView/Makefile b/llvm/lib/DebugInfo/CodeView/Makefile
new file mode 100644
index 00000000000..535bc10b744
--- /dev/null
+++ b/llvm/lib/DebugInfo/CodeView/Makefile
@@ -0,0 +1,14 @@
+##===- lib/DebugInfo/CodeView/Makefile ---------------------*- Makefile -*-===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+#
+##===----------------------------------------------------------------------===##
+
+LEVEL = ../../..
+LIBRARYNAME = LLVMDebugInfoCodeView
+BUILD_ARCHIVE := 1
+
+include $(LEVEL)/Makefile.common
OpenPOWER on IntegriCloud