From 075c621d834af7ffc32d2067fadb147cc1758b99 Mon Sep 17 00:00:00 2001 From: Chris Wailes Date: Mon, 2 Jun 2014 11:53:16 -0700 Subject: 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 --- lib/MC/Android.mk | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'lib/MC') 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 # ===================================================== -- cgit v1.1