[PATCH] D82296: [ObjectYAML][ELF] Add support for emitting the .debug_pubnames section.

Xing GUO via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 28 19:48:55 PDT 2020


Higuoxing marked an inline comment as done.
Higuoxing added inline comments.


================
Comment at: llvm/lib/ObjectYAML/ELFEmitter.cpp:947
+  else if (Name == ".debug_pubnames")
+    Err = DWARFYAML::emitPubSection(*OS, *DWARF.PubNames, DWARF.IsLittleEndian);
   else
----------------
aprantl wrote:
> FYI: This looks like a good candidate for http://llvm.org/doxygen/classllvm_1_1StringSwitch.html
Thanks a lot for pointing this out! I'll look into it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D82296





More information about the llvm-commits mailing list