[GWP-ASan] Respect compiler-rt's -fno-lto
authorMitch Phillips <31459023+hctim@users.noreply.github.com>
Thu, 7 Nov 2019 15:41:08 +0000 (07:41 -0800)
committerMitch Phillips <31459023+hctim@users.noreply.github.com>
Thu, 7 Nov 2019 15:43:02 +0000 (07:43 -0800)
commit343597789eba1e6482e130b0c1b0818b1432d311
tree9280a76566c400cd3532a414995b3ff3022519b3
parentdd2588001082d7299f71552029b06fd0620fe23c
[GWP-ASan] Respect compiler-rt's -fno-lto

https://bugs.llvm.org/show_bug.cgi?id=43722

GWP-ASan didn't include SANITIZER_COMMON_CFLAGS, and thus would produce
LLVM bitcode files, when compiler-rt is generally built without LTO.
compiler-rt/lib/gwp_asan/CMakeLists.txt