hctim marked an inline comment as done.
hctim added a comment.

In D118948#3427344 <https://reviews.llvm.org/D118948#3427344>, @tschuett wrote:

> Is `-fsanitize=memtag-heap` Android specific or target independent? It passes 
> Android flags to the linker?!?

The frontend flag should be target-independent. The clang driver knows to only 
pass Android flags to the linker where `TC.getTriple().isAndroid()` is true. 
This should allow a glibc-based implementation to live under the same 
`-fsanitize=memtag-heap` flag, just chainging the implementation based on the 
target.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118948/new/

https://reviews.llvm.org/D118948

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to