[llvm] [llvm-dwarfdump] Print symbolic names for DW_AT_LLVM_address_space (PR #220728)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 13 08:30:46 PDT 2026
================
@@ -446,9 +447,11 @@ using HandlerFn = std::function<bool(ObjectFile &, DWARFContext &DICtx,
/// Print only DIEs that have a certain name.
static bool filterByName(
const StringSet<> &Names, DWARFDie Die, StringRef NameRef, raw_ostream &OS,
- std::function<StringRef(uint64_t RegNum, bool IsEH)> GetNameForDWARFReg) {
+ function_ref<StringRef(uint64_t RegNum, bool IsEH)> GetNameForDWARFReg,
+ function_ref<StringRef(uint64_t AS)> GetNameForDWARFAddressSpace) {
----------------
arsenm wrote:
Why aren't these function_refs just methods on DIDumpOptions that take MCRegInfo arguments?
https://github.com/llvm/llvm-project/pull/220728
More information about the llvm-commits
mailing list