[PATCH] D21082: Do not assume that -fsanitize=address is valid option in clang tests

Christof Douma via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 8 03:17:14 PDT 2016


christof added a comment.

In http://reviews.llvm.org/D21082#451393, @kubabrecka wrote:

> This doesn’t make sense to me, Clang is able to produce ASanified code even when the compiler itself isn’t ASanified (that’s what LLVM_USE_SANITIZER does).  Where exactly is this test failing?


Right. I was confused about the meaning of that feature. The test fails with:
clang-3.9: error: unsupported option '-fsanitize=address' for target 'aarch64-arm-none-eabi’

The patch suggested by vitalybuka seems to work. So I suggest we go for that.


Repository:
  rL LLVM

http://reviews.llvm.org/D21082





More information about the cfe-commits mailing list