[all-commits] [llvm/llvm-project] 52554f: [gn build] Allow use_ubsan=true on mac and unbreak...

Nico Weber via All-commits all-commits at lists.llvm.org
Wed Jun 15 16:41:29 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 52554f731514526ffa33eeda149f9b7ed55ba81f
  Author: Nico Weber <thakis at chromium.org>
  Date:   2022-06-15 (Wed, 15 Jun 2022)

  Changed paths:
    M llvm/utils/gn/build/BUILD.gn
    M llvm/utils/gn/build/toolchain/BUILD.gn

  Log Message:
  [gn build] Allow use_ubsan=true on mac and unbreak use_asan, use_tsan, use_ubsan

`use_ubsan=true` seems to Just Work on macOS, so allow it.

https://reviews.llvm.org/D122862 broke use_asan=true, use_tsan=true, and
use_ubsan=true builds on Linux too. This makes this go again by explicitly
disabling asan, tsan, and ubsan for the baremetal part of the build. See
discussion on https://reviews.llvm.org/D122862 for other possible approaches.

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

More information about the All-commits mailing list