[all-commits] [llvm/llvm-project] 4f909d: [RemoveDIs] Add flag to control loading into new d...

Orlando Cazalet-Hyams via All-commits all-commits at lists.llvm.org
Tue Mar 19 05:12:58 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4f909da6bc880b816e000159ce2bf69862d0936e
      https://github.com/llvm/llvm-project/commit/4f909da6bc880b816e000159ce2bf69862d0936e
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
    M llvm/test/Bitcode/dbg-record-roundtrip.ll
    M llvm/tools/llvm-dis/llvm-dis.cpp

  Log Message:
  -----------
  [RemoveDIs] Add flag to control loading into new debug mode from bitcode (#85649)

--load-bitcode-into-experimental-debuginfo-iterators

      false: Convert to the old debug mode after reading.
      true: Upgrade to the new debug info format (*).
      unset: Same as false (for now).

(*) As of this patch it actually just means "don't convert to either
mode after loading". Auto-upgrading will be implemented in an upcoming
patch.

With this flag we can incrementally add support for RemoveDIs by
overriding the "unset" behaviour in individual tools. The flag can be
removed once all tools support the new debug info mode.



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