diff options
| author | Pengxuan Zheng <pzheng@quicinc.com> | 2021-05-17 12:16:07 -0700 |
|---|---|---|
| committer | Pengxuan Zheng <pzheng@quicinc.com> | 2021-05-30 00:52:48 -0700 |
| commit | 056733d0195b28fb1c5a7952b2adc10013edf19c (patch) | |
| tree | 33af0b4ec9d83cb23aa6315fa93c5e83cee78f08 /lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp | |
| parent | 71cca4f728d7421e40ec9aec0816313391fe9b59 (diff) | |
[SafeStack] Use proper API to get stack guard
Using the proper API automatically sets `__stack_chk_guard` to `dso_local` if
`Reloc::Static`. This wasn't strictly necessary until recently when dso_local was
no longer implied by `TargetMachine::shouldAssumeDSOLocal` for
`__stack_chk_guard`. By using the proper API, we can avoid generating unnecessary
GOT relocations.
Reviewed By: vitalybuka
Differential Revision: https://reviews.llvm.org/D102646
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp')
0 files changed, 0 insertions, 0 deletions
