From 2a840244b1b655e5863a05bd2e860c31853eacd2 Mon Sep 17 00:00:00 2001 From: Justin Bogner Date: Fri, 18 Apr 2014 21:52:00 +0000 Subject: CodeGen: Use LLVM's InstrProfReader in -fprofile-instr-use= Update clang to use the InstrProfReader from LLVM to read instrumentation based profile data. This also switches us from the naive text format to the binary format, since that's what's implemented in the reader. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206658 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/driver/CMakeLists.txt | 1 + tools/driver/Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/driver/CMakeLists.txt b/tools/driver/CMakeLists.txt index f60162f5e1..67d2115b84 100644 --- a/tools/driver/CMakeLists.txt +++ b/tools/driver/CMakeLists.txt @@ -10,6 +10,7 @@ set( LLVM_LINK_COMPONENTS MCParser ObjCARCOpts Option + ProfileData ScalarOpts Support TransformUtils diff --git a/tools/driver/Makefile b/tools/driver/Makefile index d75b19cf2a..7404496875 100644 --- a/tools/driver/Makefile +++ b/tools/driver/Makefile @@ -33,7 +33,7 @@ endif LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser bitreader bitwriter codegen \ instrumentation ipo irreader linker objcarcopts option \ - selectiondag + profiledata selectiondag USEDLIBS = clangFrontendTool.a clangFrontend.a clangDriver.a \ clangSerialization.a clangCodeGen.a clangParse.a clangSema.a -- cgit v1.2.3