[asan] Disable ASan global-GC depending on the target and compiler flags.

llvm-svn: 301225
2 files changed