[PATCH] D82347: [ObjectYAML][ELF] Add support for emitting the .debug_pubtypes section.

Xing GUO via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 22 23:04:41 PDT 2020


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


================
Comment at: llvm/test/tools/yaml2obj/ELF/DWARF/debug-pubtypes.yaml:32
+# DWARF32-LE-NEXT:   0010: 34126162 63002143 65876465 6600     |4.abc.!Ce.def.|
+##                         ----
+##                             ^--------                       name "abc\0"
----------------
MaskRay wrote:
> Not `^---` ?
This is the higher bytes of the offset. If I understand it correctly that `^` is the indicator of a new field. Am I wrong here?

```
0000: 34120000 02003412 00002143 00007856
                                     ^--- offset (4-byte)
0010: 3412
      ----
```


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D82347





More information about the llvm-commits mailing list