[all-commits] [llvm/llvm-project] ae6523: [DebugInfo] Add -fuse-ctor-homing cc1 flag so we c...

Amy Huang via All-commits all-commits at lists.llvm.org
Thu Aug 13 15:49:57 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ae6523cd62a44642390f4f9d9ba9ce17d5bbbc58
      https://github.com/llvm/llvm-project/commit/ae6523cd62a44642390f4f9d9ba9ce17d5bbbc58
  Author: Amy Huang <akhuang at google.com>
  Date:   2020-08-13 (Thu, 13 Aug 2020)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Frontend/CompilerInvocation.cpp
    A clang/test/CodeGenCXX/debug-info-ctor-homing-flag.cpp

  Log Message:
  -----------
  [DebugInfo] Add -fuse-ctor-homing cc1 flag so we can turn on constructor homing only if limited debug info is already on.

This adds a cc1 flag to enable constructor homing but doesn't turn on debug
info if it wasn't enabled already (which is what using
-debug-info-kind=constructor does). This will be used for testing, and won't
be needed anymore once ctor homing is used as default / merged into =limited.

Bug to enable ctor homing: https://bugs.llvm.org/show_bug.cgi?id=46537

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




More information about the All-commits mailing list