[all-commits] [llvm/llvm-project] 7cb5fa: [Clang][Driver] Expose `-fno-eliminate-unused-debu...

Alexandre Ganea via All-commits all-commits at lists.llvm.org
Sat Jun 15 08:34:06 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7cb5faf6da5a6f6335aca8a2532e5320ec434458
      https://github.com/llvm/llvm-project/commit/7cb5faf6da5a6f6335aca8a2532e5320ec434458
  Author: Alexandre Ganea <aganea at havenstudios.com>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M clang/docs/UsersManual.rst
    M clang/include/clang/Driver/Options.td
    M clang/test/Driver/cl-options.c

  Log Message:
  -----------
  [Clang][Driver] Expose `-fno-eliminate-unused-debug-types` to clang-cl (#95259)

This is used to set DebugInfoKind to "UnusedTypeInfo". This helps in the
context of Unreal Engine and NATVIS files that reference unused
otherwise `static constexpr` class members. See
https://udn.unrealengine.com/s/question/0D5QP00000N012h0AB/fname-debug-visualizer-fails-to-work-with-the-clang-compiler

This partially fixes https://github.com/llvm/llvm-project/issues/46924



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list