This is an archive of the discontinued LLVM Phabricator instance.

[BPF] fix indirect call assembly code
ClosedPublic

Authored by yonghong-song on Oct 20 2019, 4:34 PM.

Details

Summary

Currently, for indirect call, the assembly code printed out as

callx <imm>

This is not right, it should be

callx <reg>

Fixed the issue with proper format.

Diff Detail

Event Timeline

yonghong-song created this revision.Oct 20 2019, 4:34 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 20 2019, 4:34 PM
ast accepted this revision.Oct 20 2019, 6:19 PM
This revision is now accepted and ready to land.Oct 20 2019, 6:19 PM
This revision was automatically updated to reflect the committed changes.