This is an archive of the discontinued LLVM Phabricator instance.

[llvm-objdump][CallGraphInfo][NFC] Introduce FunctionKind enum
AcceptedPublic

Authored by necipfazil on Jul 28 2021, 9:52 PM.

Details

Summary

Add FunctionKind enumeration for mapping function kinds to values from
.callgraph section.

This will be used in the upcoming patches where the .callgraph section is
parsed.

Patch 5/6: Extract call graph information from binary

Original RFC: https://lists.llvm.org/pipermail/llvm-dev/2021-June/151044.html
Updated RFC: https://lists.llvm.org/pipermail/llvm-dev/2021-July/151739.html

Diff Detail

Event Timeline

necipfazil created this revision.Jul 28 2021, 9:52 PM
necipfazil requested review of this revision.Jul 28 2021, 9:52 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 28 2021, 9:52 PM
morehouse accepted this revision.Jul 29 2021, 3:40 PM
morehouse added inline comments.
llvm/tools/llvm-objdump/llvm-objdump.cpp
226
This revision is now accepted and ready to land.Jul 29 2021, 3:40 PM
necipfazil marked an inline comment as done.

Fix docs

morehouse accepted this revision.Jul 29 2021, 4:07 PM