diff options
author | Rainer Orth <ro@gcc.gnu.org> | 2019-07-23 16:33:54 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2019-07-23 16:33:54 +0000 |
commit | 569f92f1e1011947ae830c5d8f5313f3cadcc586 (patch) | |
tree | 9ae73716fe4b98d9bb35de4508b5fc3c555116d4 /lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp | |
parent | 2b7f3a2b33524de62011a507a0c9521698c57f8d (diff) | |
download | bcm5719-llvm-569f92f1e1011947ae830c5d8f5313f3cadcc586.tar.gz bcm5719-llvm-569f92f1e1011947ae830c5d8f5313f3cadcc586.zip |
[compiler-rt][builtins] Provide __clear_cache for SPARC
While working on https://reviews.llvm.org/D40900, two tests were failing since __clear_cache
aborted. While libgcc's __clear_cache is just empty, this only happens because
gcc (in gcc/config/sparc/sparc.c (sparc32_initialize_trampoline, sparc64_initialize_trampoline))
emits flush insns directly.
The following patch mimics that.
Tested on sparcv9-sun-solaris2.11.
Differential Revision: https://reviews.llvm.org/D64496
llvm-svn: 366822
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp')
0 files changed, 0 insertions, 0 deletions