diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-12-18 12:11:05 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-12-18 22:01:54 +0100 |
commit | d85a3887bf36ff1e4dddb111f2c5634b66eb9510 (patch) | |
tree | b46e21334b93e2c8e8e7a2ed84f6401a66a05ee4 /bridges | |
parent | f3c63fc6024a95daf51aa3ca14ba57dacfecad31 (diff) |
Mention relevant Clang bug in comment
Change-Id: I88140ab20440125d9642a1489e501cdcb74c3a48
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107962
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'bridges')
-rw-r--r-- | bridges/source/cpp_uno/gcc3_linux_aarch64/cpp2uno.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bridges/source/cpp_uno/gcc3_linux_aarch64/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_aarch64/cpp2uno.cxx index 77fa3c03bbf4..b31d87655d0c 100644 --- a/bridges/source/cpp_uno/gcc3_linux_aarch64/cpp2uno.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_aarch64/cpp2uno.cxx @@ -559,7 +559,9 @@ void bridges::cpp_uno::shared::VtableFactory::flushCode( // "extend.texi (__clear_cache): Correct signature" that __builtin___clear_cache takes void* // parameters, while Clang uses char* ever since // <https://github.com/llvm/llvm-project/commit/c491a8d4577052bc6b3b4c72a7db6a7cfcbc2ed0> "Add - // support for __builtin___clear_cache in Clang": + // support for __builtin___clear_cache in Clang" (TODO: see + // <https://bugs.llvm.org/show_bug.cgi?id=48489> "__builtin___clear_cache() has a different + // prototype than GCC"; once fixed for our Clang baseline, we can drop the reinterpret_casts): __builtin___clear_cache( reinterpret_cast<char *>(const_cast<unsigned char *>(begin)), reinterpret_cast<char *>(const_cast<unsigned char *>(end))); |