[PATCH] D136208: [llvm-reduce] Attempt to strip debug info
Arthur Eubanks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 18 15:44:47 PDT 2022
aeubanks added inline comments.
Herald added a subscriber: ormris.
================
Comment at: llvm/tools/llvm-reduce/deltas/StripDebugInfo.cpp:21
+ bool HasDebugInfo = any_of(Program.named_metadata(), [](NamedMDNode &NMD) {
+ return NMD.getName().startswith("llvm.dbg.");
+ });
----------------
not sure if this is the best way to detect presence of debug info
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136208/new/
https://reviews.llvm.org/D136208
More information about the llvm-commits
mailing list