[all-commits] [llvm/llvm-project] 0ebf7b: IR, CodeGen: Add command line flags for dumping in...
Peter Collingbourne via All-commits
all-commits at lists.llvm.org
Thu Feb 27 15:46:16 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0ebf7b473a98a7433568d0a225d8b38767bdae50
https://github.com/llvm/llvm-project/commit/0ebf7b473a98a7433568d0a225d8b38767bdae50
Author: Peter Collingbourne <peter at pcc.me.uk>
Date: 2025-02-27 (Thu, 27 Feb 2025)
Changed paths:
M llvm/lib/CodeGen/MachineInstr.cpp
M llvm/lib/IR/AsmWriter.cpp
A llvm/test/Other/print-inst-addrs.ll
A llvm/test/Other/print-inst-debug-locs.ll
A llvm/test/Other/print-mi-addrs.ll
Log Message:
-----------
IR, CodeGen: Add command line flags for dumping instruction addresses and debug locations.
As previously discussed [1], it is sometimes useful to be able to see
instruction addresses and debug locations as part of IR dumps. The
same applies to MachineInstrs which already dump debug locations but
not addresses. Therefore add some flags that can be used to enable
dumping of this information.
[1] https://discourse.llvm.org/t/small-improvement-to-llvm-debugging-experience/79914
Reviewers: rnk
Reviewed By: rnk
Pull Request: https://github.com/llvm/llvm-project/pull/127944
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