[all-commits] [llvm/llvm-project] 2ef612: [RemoveDIs] Do not load into new debug info format...

Orlando Cazalet-Hyams via All-commits all-commits at lists.llvm.org
Mon Mar 25 02:28:23 PDT 2024


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

  Changed paths:
    M llvm/tools/verify-uselistorder/verify-uselistorder.cpp

  Log Message:
  -----------
  [RemoveDIs] Do not load into new debug info format from bitcode by default (#86268)

This is NFC right now, as the global default behaviour is also "do not
load into the new debug info format by default", but we want to change
that soon.

Additionally unconditionally convert from the new debug info format into
if we've loaded into it (e.g., if the bitcode file loaded was already in
the new format).

The latter change is needed because verify-uselistorder doesn't yet
understand DbgRecords (it doesn't know how to map them).

The former change is needed because if we load from an old debug format
bitcode file but load directly into the new format _and then convert
back to the old mode after_, the use-lists of the debug intrinsic
functions (the functions' global value uses) change.



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