aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
diff options
context:
space:
mode:
authorWei Mi <wmi@google.com>2018-09-14 20:52:59 +0000
committerWei Mi <wmi@google.com>2018-09-14 20:52:59 +0000
commit6a14325dffb7a0607e5b3c75d93a837cadad54b4 (patch)
treeb66e8dff99504155918123b84a96f9577a905c10 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
parent11511ab5cf306c7c688917bdd69e47dac7292756 (diff)
downloadllvm-6a14325dffb7a0607e5b3c75d93a837cadad54b4.zip
llvm-6a14325dffb7a0607e5b3c75d93a837cadad54b4.tar.gz
llvm-6a14325dffb7a0607e5b3c75d93a837cadad54b4.tar.bz2
[SampleFDO] Add FunctionOffsetTable in compact binary format profile.
The patch saves a function offset table which maps function name index to the offset of its function profile to the start of the binary profile. By using the function offset table, for those function profiles which will not be used when compiling a module, the profile reader does't have to read them. For profile size around 10~20M, it saves ~10% compile time. Differential Revision: https://reviews.llvm.org/D51863 llvm-svn: 342283
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions