Page MenuHomePhabricator

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

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



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

Patch 5/6: Extract call graph information from binary

Original RFC:
Updated RFC:

Diff Detail

Unit TestsFailed

70 msx64 windows >
Script: -- : 'RUN: at line 3'; c:\ws\w2\llvm-project\premerge-checks\build\bin\llvm-mc.exe C:\ws\w2\llvm-project\premerge-checks\llvm\test\tools\llvm-objdump\ELF\call-graph-info-warn-no-callgraph-section.test -filetype=obj -triple=x86_64-pc-linux -o C:\ws\w2\llvm-project\premerge-checks\build\test\tools\llvm-objdump\ELF\Output\call-graph-info-warn-no-callgraph-section.test.tmp

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.
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