[PATCH] D84496: [DWARFYAML] Replace 'Format', 'Version', etc with 'FormParams'. NFC.

Pavel Labath via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 24 01:24:53 PDT 2020


labath accepted this revision.
labath added inline comments.
This revision is now accepted and ready to land.


================
Comment at: llvm/lib/ObjectYAML/DWARFEmitter.cpp:344-346
+    Length += Unit.FormParams.Format == dwarf::DWARF64
+                  ? 8
+                  : 4; // sizeof(debug_abbrev_offset)
----------------
I guess this would be `Unit.FormParams.getDwarfOffsetByteSize()`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D84496





More information about the llvm-commits mailing list