[PATCH] D73788: [yaml2obj/obj2yaml] - Add support for the SHT_LLVM_CALL_GRAPH_PROFILE sections.

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 31 22:23:09 PST 2020


MaskRay added inline comments.


================
Comment at: llvm/test/tools/obj2yaml/call-graph-profile-section.yaml:7
+# RUN: obj2yaml %t.le64 | FileCheck %s --check-prefix=BASIC
+# RUN: yaml2obj --docnum=2 %s -o %t.be64
+# RUN: obj2yaml %t.be64 | FileCheck %s --check-prefix=BASIC
----------------
This is verbose. Intention is to test that the section has the same representation with different EI_CLASS.

If https://reviews.llvm.org/D73821 looks good, we can add `-D EI_CLASS=ELFCLASS32` and `-D EI_DATA=ELFDATA2LSB` to represent a similar object file.


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

https://reviews.llvm.org/D73788





More information about the llvm-commits mailing list