diff options
| author | Dehao Chen <dehao@google.com> | 2017-09-14 17:29:56 +0000 |
|---|---|---|
| committer | Dehao Chen <dehao@google.com> | 2017-09-14 17:29:56 +0000 |
| commit | 3a81f84d9aaecbb5dfcdecdc02dbfb3dad981b84 (patch) | |
| tree | d4690b5832271238c002d407ff6ab788e82f9d98 /lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp | |
| parent | 55e446737feb6c0b0a15ae95c0b489796658d0db (diff) | |
Invoke GetInlineCost for legality check before inline functions in SampleProfileLoader.
Summary: SampleProfileLoader inlines hot functions if it is inlined in the profiled binary. However, the inline needs to be guarded by legality check, otherwise it could lead to correctness issues.
Reviewers: eraman, davidxl
Reviewed By: eraman
Subscribers: vitalybuka, sanjoy, llvm-commits
Differential Revision: https://reviews.llvm.org/D37779
llvm-svn: 313277
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp')
0 files changed, 0 insertions, 0 deletions
