In this patch, we add a helper function getDWARFEmitterByName(). This
function returns the proper DWARF section emitting method by the name.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
This comment was removed by Higuoxing.
llvm/lib/ObjectYAML/ELFEmitter.cpp | ||
---|---|---|
953 ↗ | (On Diff #282139) | I'm not sure this check is really giving us anything. There's a check in the getDWARFEmitterByName that the name is a recognised name (the default case), so I think you can just remove this check here. |
956–958 ↗ | (On Diff #282139) | if (Error Err = EmitFunc(*OS, DWARF); |