This is an archive of the discontinued LLVM Phabricator instance.

[PDB] Restore the calling convention from PDB
ClosedPublic

Authored by aleksandr.urakov on Sep 25 2018, 8:34 AM.

Details

Summary

This patch implements restoring of the calling convention from PDB. It is necessary for expressions evaluation, if we want to call a function of the debuggee process with a calling convention other than ccall.

Diff Detail

Repository
rL LLVM

Event Timeline

clayborg accepted this revision.Sep 25 2018, 8:52 AM

Looks good as long as all the test suite bots are happy.

This revision is now accepted and ready to land.Sep 25 2018, 8:52 AM

Thanks!

I just have extracted the test cases in a separate test and have specified -m32 key, so the test can run also on 64-bit machines.

This revision was automatically updated to reflect the committed changes.