aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectProcess.cpp
diff options
context:
space:
mode:
authorCarlo Marcelo Arenas Belón <carenas@gmail.com>2022-03-31 13:46:45 +0000
committerJinsong Ji <jji@us.ibm.com>2022-03-31 14:19:26 +0000
commit81f5c6270cdfcdf80e6296df216b696a7a37c8b5 (patch)
tree8d6321dd371242c91801d99ff93208a9734717b0 /lldb/source/Commands/CommandObjectProcess.cpp
parent9615d717d12f3daf18f62236b911b159659ab363 (diff)
downloadllvm-81f5c6270cdfcdf80e6296df216b696a7a37c8b5.zip
llvm-81f5c6270cdfcdf80e6296df216b696a7a37c8b5.tar.gz
llvm-81f5c6270cdfcdf80e6296df216b696a7a37c8b5.tar.bz2
[compiler-rt] Implement __clear_cache on FreeBSD/powerpc
dd9173420f06 (Add clear_cache implementation for ppc64. Fix buffer to meet ppc64 alignment., 2017-07-28), adds an implementation for __builtin___clear_cache on powerpc64, which was promptly ammended to also be used with big endian mode in f67036b62c0c (This ppc64 implementation of clear_cache works for both big and little endian., 2017-08-02) clang will use this implementation for it's builtin on FreeBSD and result in an abort() in the cases where 32-bit generation was requested (ex in macppc or when the big endian powerpc64 build was done with "-m32") and as reported[1] recently with pcre2, but there is no reason why the same code couldn't be used in those cases, so use instead the more generic identifier for the PowerPC architecture. While at it, update the comment to reflect that POWER8/9 have a 128 byte wide cache line and so the code could instead use 64 byte windows instead but that possible optimization has been punted for now. [1] https://github.com/PhilipHazel/pcre2/issues/92 Reviewed By: jhibbits, #powerpc, MaskRay Differential Revision: https://reviews.llvm.org/D122640
Diffstat (limited to 'lldb/source/Commands/CommandObjectProcess.cpp')
0 files changed, 0 insertions, 0 deletions