[all-commits] [llvm/llvm-project] 70af0b: [clang][Driver] Expose -fexperimental-relative-c++...

Leonard Chan via All-commits all-commits at lists.llvm.org
Wed Mar 10 16:29:20 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 70af0bf6fe462cc16a2e56657d20eeed126d41d0
      https://github.com/llvm/llvm-project/commit/70af0bf6fe462cc16a2e56657d20eeed126d41d0
  Author: Leonard Chan <leonardchan at google.com>
  Date:   2021-03-10 (Wed, 10 Mar 2021)

  Changed paths:
    M clang/lib/Driver/ToolChains/Clang.cpp
    A clang/test/Driver/relative-vtables-flag.cpp

  Log Message:
  -----------
  [clang][Driver] Expose -fexperimental-relative-c++-abi-vtables flag

Initially, this flag was meant to only be used through cc1 and not directly
through the clang driver. However, we accidentally ended up using this flag
as a driver flag already for selecting multilibs within the fuchsia toolchain.
We're currently in an awkward state where it's only accepted as a driver flag
when targeting Fuchsia, and all other instances it can only be added via
-Xclang. Since we're ready to use this in Fuchsia, we can just expose this to
the driver for simplicity.

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




More information about the All-commits mailing list