[compiler-rt] [sanitizer][Darwin] Define TlsSize on arm64 (PR #133989)

Mariusz Borsa via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 29 10:17:50 PDT 2025


wrotki wrote:

This change has some consequences, it will cause a call to DontNeedShadowFor(thr->tls_addr, thr->tls_size) (than_rtl.cpp:222) to happen where it used to not happen, on arm64 . Perhaps those are harmless, but - why do you need this change to happen, is it a part of something bigger?

Also, sanitizer_mac.cpp:244 :

uptr GetTlsSize() {
  return 0;
}

, which seems to return same thing and will be inconsistent with TlsSize(), perhaps it'll need some refactoring to decrease confusion potential.



https://github.com/llvm/llvm-project/pull/133989


More information about the llvm-commits mailing list