[PATCH] D46815: [DbgInfo] Fix StripDebugInfo
Son Tuan Vu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 14 00:39:27 PDT 2018
tyb0807 added a comment.
UPD: There are 3 regression tests that declare functions starting with `llvm.dbg.` (e.g. `declare void @llvm.dbg.func.start(metadata) nounwind readnone`) and are failing:
- Linker/2009-09-03-mdnode.ll
- Transforms/SimplifyCFG/2003-08-17-FoldSwitch-dbg.ll
- Transforms/SimplifyCFG/dbginfo.ll
Should I change those functions' name so that the new code might work? Or should I change the if statement to `if (F.getName() == "llvm.dbg.declare" || F.getName() == "llvm.dbg.value" || F.getName() == "llvm.dbg.addr")` ?
Repository:
rL LLVM
https://reviews.llvm.org/D46815
More information about the llvm-commits
mailing list