This is an archive of the discontinued LLVM Phabricator instance.

[LLVM-C] Add GetFunctionType Method
AbandonedPublic

Authored by wsmoses on May 25 2023, 12:07 PM.

Details

Summary

This adds a get functiontype from function method to the LLVM C ABI. This is required to support opaque pointers.

Diff Detail

Event Timeline

wsmoses created this revision.May 25 2023, 12:07 PM
Herald added a project: Restricted Project. · View Herald Transcript
wsmoses requested review of this revision.May 25 2023, 12:07 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 25 2023, 12:07 PM
nikic requested changes to this revision.May 25 2023, 12:10 PM

This is already provided in a more general way by LLVMGlobalGetValueType.

This revision now requires changes to proceed.May 25 2023, 12:10 PM
wsmoses abandoned this revision.May 25 2023, 12:16 PM

You are absolutely correct, did not find that one.