aboutsummaryrefslogtreecommitdiffstats
path: root/lib/MC
diff options
context:
space:
mode:
authorChris Wailes <chriswailes@google.com>2014-06-02 11:53:16 -0700
committerChris Wailes <chriswailes@google.com>2014-06-06 18:19:16 -0700
commit075c621d834af7ffc32d2067fadb147cc1758b99 (patch)
treef4f29ff2e71102ee86111bc695830ae5850ec50c /lib/MC
parenta637ea99e253d9d3bd16ebb9e33f5828d38d94de (diff)
downloadexternal_llvm-075c621d834af7ffc32d2067fadb147cc1758b99.zip
external_llvm-075c621d834af7ffc32d2067fadb147cc1758b99.tar.gz
external_llvm-075c621d834af7ffc32d2067fadb147cc1758b99.tar.bz2
Adds the ability to run the llvm test suite in-tree.
This was accomplished by building additional tools and hand-generating several files that are auto-generated by the configuration system when LLVM is built out-of-tree. The LTO, Interpreter, and DebugInfo libraries are now being compiled, and several source files were added to existing compilation targets. To run these tests you must first run build/envsetup.sh and have used lunch to select a target. You can then launch the test script by running: cd $ANDROID_BUILD_TOP/external/llvm && ./android_test.sh Bug: 15433215 Change-Id: I43d87de0a4620cdd46c8d0f825dd4428e8409702
Diffstat (limited to 'lib/MC')
-rw-r--r--lib/MC/Android.mk12
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/MC/Android.mk b/lib/MC/Android.mk
index 975f4e3..23ad1d3 100644
--- a/lib/MC/Android.mk
+++ b/lib/MC/Android.mk
@@ -2,7 +2,6 @@ LOCAL_PATH:= $(call my-dir)
mc_SRC_FILES := \
ELFObjectWriter.cpp \
- MachObjectWriter.cpp \
MCAsmBackend.cpp \
MCAsmInfo.cpp \
MCAsmInfoCOFF.cpp \
@@ -10,6 +9,7 @@ mc_SRC_FILES := \
MCAsmInfoELF.cpp \
MCAsmStreamer.cpp \
MCAssembler.cpp \
+ MCAtom.cpp \
MCCodeEmitter.cpp \
MCCodeGenInfo.cpp \
MCContext.cpp \
@@ -18,6 +18,7 @@ mc_SRC_FILES := \
MCELF.cpp \
MCELFObjectTargetWriter.cpp \
MCELFStreamer.cpp \
+ MCFunction.cpp \
MCExpr.cpp \
MCExternalSymbolizer.cpp \
MCInst.cpp \
@@ -25,11 +26,15 @@ mc_SRC_FILES := \
MCInstrAnalysis.cpp \
MCLabel.cpp \
MCLinkerOptimizationHint.cpp \
- MCMachObjectTargetWriter.cpp \
MCMachOStreamer.cpp \
+ MCMachObjectTargetWriter.cpp \
+ MCModule.cpp \
+ MCModuleYAML.cpp \
MCNullStreamer.cpp \
MCObjectFileInfo.cpp \
+ MCObjectDisassembler.cpp \
MCObjectStreamer.cpp \
+ MCObjectSymbolizer.cpp \
MCObjectWriter.cpp \
MCRegisterInfo.cpp \
MCRelocationInfo.cpp \
@@ -44,9 +49,10 @@ mc_SRC_FILES := \
MCTargetOptions.cpp \
MCValue.cpp \
MCWin64EH.cpp \
+ MachObjectWriter.cpp \
+ SubtargetFeature.cpp \
WinCOFFObjectWriter.cpp \
WinCOFFStreamer.cpp \
- SubtargetFeature.cpp
# For the host
# =====================================================