This is an archive of the discontinued LLVM Phabricator instance.

[LLVM-C] Fix name mangling on AggressiveInstCombine
ClosedPublic

Authored by mhlindstr on Jul 17 2018, 12:16 AM.

Details

Summary

Similarly to rL336736, at least one more C API function does not properly get declared as extern "C" due to a missing header, causing name mangling and linking errors. This patch fixes calls to LLVMAddAggressiveInstCombinerPass().

Diff Detail

Repository
rL LLVM

Event Timeline

mhlindstr created this revision.Jul 17 2018, 12:16 AM
Chirag added a subscriber: Chirag.Jul 17 2018, 12:41 AM
Chirag removed a subscriber: Chirag.
Chirag added a subscriber: Chirag.Jul 17 2018, 12:44 AM
This revision is now accepted and ready to land.Jul 17 2018, 3:03 AM

I do not have write access to the repository, can someone else land this?

Thanks again!

This revision was automatically updated to reflect the committed changes.