This is an archive of the discontinued LLVM Phabricator instance.

Do not require a Context to extract the FunctionIndex from Bitcode
ClosedPublic

Authored by mehdi_amini on Nov 18 2015, 4:27 PM.

Details

Summary

The LLVMContext was only used for Diagnostic. Pass a DiagnosticHandler
instead.

Diff Detail

Event Timeline

mehdi_amini retitled this revision from to Do not require a Context to extract the FunctionIndex from Bitcode.
mehdi_amini updated this object.
mehdi_amini added a reviewer: tejohnson.
mehdi_amini added subscribers: dexonsmith, llvm-commits.

Remove no longer used LLVMContext in createCombinedFunctionIndex

tejohnson accepted this revision.Nov 18 2015, 8:57 PM
tejohnson edited edge metadata.

Thanks for the cleanup!

This revision is now accepted and ready to land.Nov 18 2015, 8:57 PM

You forgot to modify gold-plugin. Could you confirm my change r253553, please?