This is a LLVM specific section that is well described here:
https://llvm.org/docs/Extensions.html#sht-llvm-call-graph-profile-section-call-graph-profile
This patch teaches yaml2obj and obj2yaml about how to work with it.
Paths
| Differential D73788
[yaml2obj/obj2yaml] - Add support for the SHT_LLVM_CALL_GRAPH_PROFILE sections. ClosedPublic Authored by grimar on Jan 31 2020, 8:03 AM.
Details Summary This is a LLVM specific section that is well described here: This patch teaches yaml2obj and obj2yaml about how to work with it.
Diff Detail
Event Timeline
grimar added inline comments.
grimar marked 11 inline comments as done. Comment Actions
Comment Actions LGTM, with nit.
This revision is now accepted and ready to land.Feb 4 2020, 1:51 AM Closed by commit rGbec54e464e6a: [yaml2obj/obj2yaml] - Add support for the SHT_LLVM_CALL_GRAPH_PROFILE section. (authored by grimar). · Explain WhyFeb 4 2020, 4:16 AM This revision was automatically updated to reflect the committed changes. grimar marked an inline comment as done.
Revision Contents
Diff 242291 llvm/include/llvm/ObjectYAML/ELFYAML.h
llvm/lib/ObjectYAML/ELFEmitter.cpp
llvm/lib/ObjectYAML/ELFYAML.cpp
llvm/test/tools/obj2yaml/call-graph-profile-section.yaml
llvm/test/tools/yaml2obj/ELF/call-graph-profile-section.yaml
llvm/tools/obj2yaml/elf2yaml.cpp
|
Nit: I think there shouldn't be a space before the "false" in these two lines.