forked from llvm-mirror/llvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patch by Vladimir Medic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153924 91177308-0d34-0410-b5e6-96231b3b80d8
- Loading branch information
Showing
21 changed files
with
2,967 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. ) | ||
|
||
add_llvm_library(LLVMMipsDisassembler | ||
MipsDisassembler.cpp | ||
) | ||
|
||
# workaround for hanging compilation on MSVC9 and 10 | ||
if( MSVC_VERSION EQUAL 1400 OR MSVC_VERSION EQUAL 1500 OR MSVC_VERSION EQUAL 1600 ) | ||
set_property( | ||
SOURCE MipsDisassembler.cpp | ||
PROPERTY COMPILE_FLAGS "/Od" | ||
) | ||
endif() | ||
|
||
add_dependencies(LLVMMipsDisassembler MipsCommonTableGen) | ||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. ) | ||
|
||
add_llvm_library(LLVMMipsDisassembler | ||
MipsDisassembler.cpp | ||
) | ||
|
||
# workaround for hanging compilation on MSVC9 and 10 | ||
if( MSVC_VERSION EQUAL 1400 OR MSVC_VERSION EQUAL 1500 OR MSVC_VERSION EQUAL 1600 ) | ||
set_property( | ||
SOURCE MipsDisassembler.cpp | ||
PROPERTY COMPILE_FLAGS "/Od" | ||
) | ||
endif() | ||
|
||
add_dependencies(LLVMMipsDisassembler MipsCommonTableGen) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
;===- ./lib/Target/Mips/Disassembler/LLVMBuild.txt --------------*- Conf -*--===; | ||
; | ||
; The LLVM Compiler Infrastructure | ||
; | ||
; This file is distributed under the University of Illinois Open Source | ||
; License. See LICENSE.TXT for details. | ||
; | ||
;===------------------------------------------------------------------------===; | ||
; | ||
; This is an LLVMBuild description file for the components in this subdirectory. | ||
; | ||
; For more information on the LLVMBuild system, please see: | ||
; | ||
; http://llvm.org/docs/LLVMBuild.html | ||
; | ||
;===------------------------------------------------------------------------===; | ||
|
||
[component_0] | ||
type = Library | ||
name = MipsDisassembler | ||
parent = Mips | ||
required_libraries = MC Support MipsInfo | ||
add_to_library_groups = Mips | ||
;===- ./lib/Target/Mips/Disassembler/LLVMBuild.txt --------------*- Conf -*--===; | ||
; | ||
; The LLVM Compiler Infrastructure | ||
; | ||
; This file is distributed under the University of Illinois Open Source | ||
; License. See LICENSE.TXT for details. | ||
; | ||
;===------------------------------------------------------------------------===; | ||
; | ||
; This is an LLVMBuild description file for the components in this subdirectory. | ||
; | ||
; For more information on the LLVMBuild system, please see: | ||
; | ||
; http://llvm.org/docs/LLVMBuild.html | ||
; | ||
;===------------------------------------------------------------------------===; | ||
|
||
[component_0] | ||
type = Library | ||
name = MipsDisassembler | ||
parent = Mips | ||
required_libraries = MC Support MipsInfo | ||
add_to_library_groups = Mips |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
##===- lib/Target/Mips/Disassembler/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 = LLVMMipsDisassembler | ||
|
||
# Hack: we need to include 'main' Mips target directory to grab private headers | ||
CPP.Flags += -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/.. | ||
|
||
include $(LEVEL)/Makefile.common | ||
##===- lib/Target/Mips/Disassembler/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 = LLVMMipsDisassembler | ||
|
||
# Hack: we need to include 'main' Mips target directory to grab private headers | ||
CPP.Flags += -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/.. | ||
|
||
include $(LEVEL)/Makefile.common |
Oops, something went wrong.