diff options
author | Justin Bogner <mail@justinbogner.com> | 2014-04-18 21:52:00 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2014-04-18 21:52:00 +0000 |
commit | 2a840244b1b655e5863a05bd2e860c31853eacd2 (patch) | |
tree | 63375e185c75213da2716062ea45cd192d6c4239 /tools/driver | |
parent | c214a6c21ea6fb4367e54391fafc44911680d9e5 (diff) | |
download | clang-2a840244b1b655e5863a05bd2e860c31853eacd2.tar.gz clang-2a840244b1b655e5863a05bd2e860c31853eacd2.tar.bz2 clang-2a840244b1b655e5863a05bd2e860c31853eacd2.tar.xz |
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
Diffstat (limited to 'tools/driver')
-rw-r--r-- | tools/driver/CMakeLists.txt | 1 | ||||
-rw-r--r-- | tools/driver/Makefile | 2 |
2 files changed, 2 insertions, 1 deletions
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 |