aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunctionPass.cpp
diff options
context:
space:
mode:
authorIgor Kudrin <ikudrin@accesssoftek.com>2025-01-23 14:27:40 -0800
committerIgor Kudrin <ikudrin@accesssoftek.com>2025-01-23 15:22:04 -0800
commit10772807ab72ce2b68d76816f8753219b2acbac3 (patch)
treec76389b8861d6be15ef16b08ecfed4d2aece702e /llvm/lib/CodeGen/MachineFunctionPass.cpp
parent3d59e30cbcfea475594aaf1c69388c0503f846ef (diff)
downloadllvm-10772807ab72ce2b68d76816f8753219b2acbac3.zip
llvm-10772807ab72ce2b68d76816f8753219b2acbac3.tar.gz
llvm-10772807ab72ce2b68d76816f8753219b2acbac3.tar.bz2
Reapply "[llvm-objcopy][ELF] Add an option to remove notes (#118739)"
This fixes "unused-local-typedef" warnings in 9324e6a7a5. This adds an option `--remove-note=[name/]type` to selectively delete notes in ELF files, where `type` is the numeric value of the note type and `name` is the name of the originator. The name can be omitted, in which case all notes of the specified type will be removed. For now, only `SHT_NOTE` sections that are not associated with segments are handled. The implementation can be extended later as needed. RFC: https://discourse.llvm.org/t/rfc-llvm-objcopy-feature-for-editing-notes/83491
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionPass.cpp')
0 files changed, 0 insertions, 0 deletions