From ead8d02a509cd69a74e01e4af90d8b237f30ed1c Mon Sep 17 00:00:00 2001 From: Stephen Hines Date: Wed, 7 Aug 2013 19:25:16 -0700 Subject: Update LLVM for merge to r187913. Add HAVE_FUTIMENS to */include/llvm/Config/config.h Update version number to 3.3 (even though this is tracking 3.4) Removed lib/Archive Added lib/Option Android.mk changes: - PathV2.cpp - SimplifyLibCalls.cpp - BlackList.cpp - VecUtils.cpp + MD5.cpp + CFG.cpp + SpecialCaseList.cpp + MachOUniversal.cpp + StructurizeCFG.cpp Change-Id: I8ee072cd0d4210a6a5492c0e6663f8464ff21386 --- lib/Analysis/Android.mk | 1 + lib/Archive/Android.mk | 32 ------------------------- lib/Object/Android.mk | 1 + lib/Option/Android.mk | 40 +++++++++++++++++++++++++++++++ lib/Support/Android.mk | 2 +- lib/Transforms/Instrumentation/Android.mk | 1 - lib/Transforms/Scalar/Android.mk | 2 +- lib/Transforms/Utils/Android.mk | 1 + lib/Transforms/Vectorize/Android.mk | 3 +-- 9 files changed, 46 insertions(+), 37 deletions(-) delete mode 100644 lib/Archive/Android.mk create mode 100644 lib/Option/Android.mk (limited to 'lib') diff --git a/lib/Analysis/Android.mk b/lib/Analysis/Android.mk index 74fa9d7..7e0bccc 100644 --- a/lib/Analysis/Android.mk +++ b/lib/Analysis/Android.mk @@ -10,6 +10,7 @@ analysis_SRC_FILES := \ BasicAliasAnalysis.cpp \ BlockFrequencyInfo.cpp \ BranchProbabilityInfo.cpp \ + CFG.cpp \ CFGPrinter.cpp \ CaptureTracking.cpp \ CodeMetrics.cpp \ diff --git a/lib/Archive/Android.mk b/lib/Archive/Android.mk deleted file mode 100644 index e679f60..0000000 --- a/lib/Archive/Android.mk +++ /dev/null @@ -1,32 +0,0 @@ -LOCAL_PATH:= $(call my-dir) - -archive_SRC_FILES := \ - Archive.cpp \ - ArchiveReader.cpp \ - ArchiveWriter.cpp - -# For the host -# ===================================================== -include $(CLEAR_VARS) - -LOCAL_SRC_FILES := $(archive_SRC_FILES) - -LOCAL_MODULE:= libLLVMArchive - -LOCAL_MODULE_TAGS := optional - -include $(LLVM_HOST_BUILD_MK) -include $(BUILD_HOST_STATIC_LIBRARY) - -# For the device -# ===================================================== -include $(CLEAR_VARS) - -LOCAL_SRC_FILES := $(archive_SRC_FILES) - -LOCAL_MODULE := libLLVMArchive - -LOCAL_MODULE_TAGS := optional - -include $(LLVM_DEVICE_BUILD_MK) -include $(BUILD_STATIC_LIBRARY) diff --git a/lib/Object/Android.mk b/lib/Object/Android.mk index e4f499d..09dcda6 100644 --- a/lib/Object/Android.mk +++ b/lib/Object/Android.mk @@ -7,6 +7,7 @@ object_SRC_FILES := \ ELFObjectFile.cpp \ Error.cpp \ MachOObjectFile.cpp \ + MachOUniversal.cpp \ Object.cpp \ ObjectFile.cpp diff --git a/lib/Option/Android.mk b/lib/Option/Android.mk new file mode 100644 index 0000000..a90af3c --- /dev/null +++ b/lib/Option/Android.mk @@ -0,0 +1,40 @@ +LOCAL_PATH:= $(call my-dir) + +option_SRC_FILES := \ + Arg.cpp \ + ArgList.cpp \ + Option.cpp \ + OptTable.cpp + +# For the host +# ===================================================== +include $(CLEAR_VARS) + +# FIXME: This only requires RTTI because tblgen uses it. Fix that. +REQUIRES_RTTI := 1 + +LOCAL_SRC_FILES := $(option_SRC_FILES) + +LOCAL_MODULE:= libLLVMOption + +LOCAL_CFLAGS := -D__android__ + +LOCAL_MODULE_TAGS := optional + +include $(LLVM_HOST_BUILD_MK) +include $(BUILD_HOST_STATIC_LIBRARY) + +# For the device +# ===================================================== +include $(CLEAR_VARS) + +LOCAL_SRC_FILES := $(option_SRC_FILES) + +LOCAL_MODULE:= libLLVMOption + +LOCAL_CFLAGS := -D__android__ + +LOCAL_MODULE_TAGS := optional + +include $(LLVM_DEVICE_BUILD_MK) +include $(BUILD_STATIC_LIBRARY) diff --git a/lib/Support/Android.mk b/lib/Support/Android.mk index 11c6b36..f07ad12 100644 --- a/lib/Support/Android.mk +++ b/lib/Support/Android.mk @@ -35,13 +35,13 @@ support_SRC_FILES := \ IsNAN.cpp \ Locale.cpp \ LockFileManager.cpp \ + MD5.cpp \ ManagedStatic.cpp \ Memory.cpp \ MemoryBuffer.cpp \ MemoryObject.cpp \ Mutex.cpp \ Path.cpp \ - PathV2.cpp \ PluginLoader.cpp \ PrettyStackTrace.cpp \ Process.cpp \ diff --git a/lib/Transforms/Instrumentation/Android.mk b/lib/Transforms/Instrumentation/Android.mk index 9736619..7182e50 100644 --- a/lib/Transforms/Instrumentation/Android.mk +++ b/lib/Transforms/Instrumentation/Android.mk @@ -2,7 +2,6 @@ LOCAL_PATH:= $(call my-dir) instrumentation_SRC_FILES := \ AddressSanitizer.cpp \ - BlackList.cpp \ BoundsChecking.cpp \ EdgeProfiling.cpp \ GCOVProfiling.cpp \ diff --git a/lib/Transforms/Scalar/Android.mk b/lib/Transforms/Scalar/Android.mk index c20b9d9..d2e1478 100644 --- a/lib/Transforms/Scalar/Android.mk +++ b/lib/Transforms/Scalar/Android.mk @@ -30,8 +30,8 @@ transforms_scalar_SRC_FILES := \ Scalar.cpp \ ScalarReplAggregates.cpp \ SimplifyCFGPass.cpp \ - SimplifyLibCalls.cpp \ Sink.cpp \ + StructurizeCFG.cpp \ TailRecursionElimination.cpp # For the host diff --git a/lib/Transforms/Utils/Android.mk b/lib/Transforms/Utils/Android.mk index df87208..9bf9ef3 100644 --- a/lib/Transforms/Utils/Android.mk +++ b/lib/Transforms/Utils/Android.mk @@ -29,6 +29,7 @@ transforms_utils_SRC_FILES := \ SimplifyIndVar.cpp \ SimplifyInstructions.cpp \ SimplifyLibCalls.cpp \ + SpecialCaseList.cpp \ UnifyFunctionExitNodes.cpp \ Utils.cpp \ ValueMapper.cpp diff --git a/lib/Transforms/Vectorize/Android.mk b/lib/Transforms/Vectorize/Android.mk index 58698fe..2778900 100644 --- a/lib/Transforms/Vectorize/Android.mk +++ b/lib/Transforms/Vectorize/Android.mk @@ -4,8 +4,7 @@ transforms_vectorize_SRC_FILES := \ BBVectorize.cpp \ LoopVectorize.cpp \ SLPVectorizer.cpp \ - Vectorize.cpp \ - VecUtils.cpp + Vectorize.cpp # For the host # ===================================================== -- cgit v1.1