[PATCH] D85296: [DWARFYAML][debug_info] Pull out dwarf::FormParams from DWARFYAML::Unit.

Xing GUO via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 5 05:50:04 PDT 2020


Higuoxing added inline comments.


================
Comment at: llvm/lib/ObjectYAML/DWARFEmitter.cpp:385
   for (const DWARFYAML::Unit &Unit : DI.CompileUnits) {
+    dwarf::FormParams Params = {Unit.Version, (uint8_t)Unit.AddrSize,
+                                Unit.Format};
----------------
I will remove the `(uint8_t)`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D85296



More information about the llvm-commits mailing list