diff options
| author | Francis Ricci <francisjricci@gmail.com> | 2017-04-19 14:00:35 +0000 |
|---|---|---|
| committer | Francis Ricci <francisjricci@gmail.com> | 2017-04-19 14:00:35 +0000 |
| commit | 2096fa4bf9b288072134879e1426ac31e4c5c47b (patch) | |
| tree | 90cce5ddc84b9e789efff817dda8504a82dcdaa8 /lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp | |
| parent | 8ea76fa9b4503847aa0bd784d2a26df5d3429aea (diff) | |
Move valid caller-pc checks out of platform-specific checks
Summary:
ProcessPlatformSpecificAllocations for linux leak sanitizer iterated over
memory chunks and ran two checks concurrently:
1) Ensured the pc was valid
2) Checked whether it was a linker allocation
All platforms will need the valid pc check, so it is moved out of the platform-
specific file. To prevent code and logic duplication, the linker allocation
check is moved as well, with the name of the linker supplied by the platform-specific
module. In cases where we don't need to check for linker allocations (ie Darwin),
this name will be a nullptr, and we'll only run the caller pc checks.
Reviewers: kubamracek, alekseyshl, kcc
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D32130
llvm-svn: 300690
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp')
0 files changed, 0 insertions, 0 deletions
