[all-commits] [llvm/llvm-project] 835c1b: [RemoveDIs] Auto-upgrade debug intrinsics to DbgRe...

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


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

  Changed paths:
    M llvm/lib/Bitcode/Reader/MetadataLoader.cpp
    M llvm/lib/IR/AutoUpgrade.cpp
    M llvm/test/Bitcode/DIExpression-aggresult.ll
    M llvm/test/Bitcode/dbg-record-roundtrip.ll
    M llvm/test/Bitcode/upgrade-dbg-addr.ll

  Log Message:
  -----------
  [RemoveDIs] Auto-upgrade debug intrinsics to DbgRecords (default false) (#85650)

If --load-bitcode-into-experimental-debuginfo-iterators is true then debug
intrinsics are auto-upgraded to DbgRecords (the new debug info format).

The upgrade is trivial because the two representations are semantically
identical. llvm.dbg.value with 4 operands and llvm.dbg.addr intrinsics are
upgraded in the same way as usual, but converted directly into DbgRecords
instead of debug intrinsics.



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