[PATCH] D87346: [elf2yaml] Fix dumping a debug section whose name is not recognized.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 9 01:18:33 PDT 2020


grimar added inline comments.


================
Comment at: llvm/test/tools/obj2yaml/ELF/DWARF/unrecognized-debug-section.yaml:1
+## Test dumping a debug section that its name is not recognized by yaml2obj.
+
----------------
by **obj2yaml**?


================
Comment at: llvm/tools/obj2yaml/elf2yaml.cpp:424
+                              "the parser for the %s section is not supported",
+                              RawSec->Name.str().c_str());
 
----------------
Couldn't it be just

```
else
  continue;
```

?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87346/new/

https://reviews.llvm.org/D87346



More information about the llvm-commits mailing list