[PassManager/Sanitizer] Enable usage of ported AddressSanitizer passes with -fsanitiz...
authorLeonard Chan <leonardchan@google.com>
Wed, 17 Oct 2018 15:38:22 +0000 (15:38 +0000)
committerLeonard Chan <leonardchan@google.com>
Wed, 17 Oct 2018 15:38:22 +0000 (15:38 +0000)
commitebd10a24f4c3bc24011b399d93fca789fcac8986
tree84591495c9545dae28504e4e5fdf26f8d0a9c24b
parent4821937d2ef9120673ecdd6d139ceddf29a54957
[PassManager/Sanitizer] Enable usage of ported AddressSanitizer passes with -fsanitize=address

Enable usage of `AddressSanitizer` and `AddressModuleSanitizer` ported from the
legacy to the new PassManager.

This patch depends on https://reviews.llvm.org/D52739.

Differential Revision: https://reviews.llvm.org/D52814

llvm-svn: 344699
clang/lib/CodeGen/BackendUtil.cpp
clang/test/CodeGen/asan-new-pm.ll [new file with mode: 0644]