[all-commits] [llvm/llvm-project] b64fda: [gn build] Don't pass -Wl, -z, defs for sanitizer bu...

aeubanks via All-commits all-commits at lists.llvm.org
Mon Sep 20 11:40:00 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b64fdaa86b5b35fa982dd1f41d32b37a9d5208b6
      https://github.com/llvm/llvm-project/commit/b64fdaa86b5b35fa982dd1f41d32b37a9d5208b6
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2021-09-20 (Mon, 20 Sep 2021)

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

  Log Message:
  -----------
  [gn build] Don't pass -Wl,-z,defs for sanitizer builds

-Wl,-z,defs doesn't work with sanitizers.
See https://clang.llvm.org/docs/AddressSanitizer.html

Reviewed By: thakis

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




More information about the All-commits mailing list