Hi Richard,
Thanks for your kind response!
在 2017年07月28日 15:54, Richard Biener 写道:
On Fri, Jul 28, 2017 at 6:12 AM, Leslie Zhai <lesliez...@llvm.org.cn> wrote:
Hi GCC developers,
As ChangeLog-2013 mentioned by Bernd Schmidt: ... pass_ipa_lto_gimple_out
... Remove. Delete.
there is no 'pass_ipa_lto_gimple_out' in lto-streamer-out.c any more.
then how to migrate it for GCC v6.x? just like this:
https://github.com/xiangzhai/dragonegg/blob/gcc-6_3-branch/src/Backend.cpp#L2880
to ignore it?
or do I need to find other equivalent PASS? please give me some hint, thanks
a lot!
It says
// Disable all LTO passes.
(for whatever reason). So try just removing this part - the pass is
already removed.
Yes, I use the macro (GCC_MAJOR < 5) to disable it (just removing this
part, to ignore it)
https://github.com/xiangzhai/dragonegg/blob/gcc-6_3-branch/src/Backend.cpp#L2884
sorry I am not the original developer of DragonEgg
http://llvm.org/devmtg/2009-10/Sands_LLVMGCCPlugin.pdf and recently I am
learning about GCC plugin and GIMPLE https://reviews.llvm.org/D35667 for
converting GIMPLE to LLVM IR, then disable GCC PASS but use LLVM's
instead, but I don't have the whole view of it, I need to deepin to it
more :) please Duncan answer your question about 'for whatever reason',
thanks!
Richard.
PS: Thanks for David's hint, I fixed 'undefined symbol
gt_ggc_mx(tree2WeakVH*&)' issue, I forgot to add 'for_user' for
GTY((XXX))...
--
Regards,
Leslie Zhai - a LLVM developer https://reviews.llvm.org/p/xiangzhai/
--
Regards,
Leslie Zhai - a LLVM developer https://reviews.llvm.org/p/xiangzhai/