[PATCH] D88717: [obj2yaml] [yaml2obj] Add yaml support for SHT_LLVM_BB_ADDR_MAP section.

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 4 00:24:52 PST 2020


jhenderson accepted this revision.
jhenderson added a comment.
This revision is now accepted and ready to land.

LGTM, with a couple of nits.



================
Comment at: llvm/test/tools/yaml2obj/ELF/bb-addr-map.yaml:59
+
+## 1) We can produce a .llvm_bb_addr_map section from a description with section
+##    content.
----------------
Trivial nit: to me, the '.' is silent when I say this out loud, so it sounds like "an .llvm_bb_addr_map" would be better than "a .llvm_bb_addr_map". Same applies for point 4). Feel free to ignore.


================
Comment at: llvm/test/tools/yaml2obj/ELF/bb-addr-map.yaml:99
+
+## Check we can't use Entries along with Content or Size tags at the same time.
+# RUN: not yaml2obj --docnum=2 -DCONTENT="00" %s 2>&1 | FileCheck %s --check-prefix=INVALID
----------------
Reads more cleanly to me.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D88717



More information about the llvm-commits mailing list