Displaying 2 results from an estimated 2 matches for "shijunjing".
2016 May 13
2
How to debug if LTO generate wrong code?
Hello,
I'm enabling clang LTO to improve code size of Uefi standard (http://www.uefi.org/) firmware (https://github.com/tianocore/edk2), which is mostly C code. My project is in https://github.com/shijunjing/edk2 branch llvm : https://github.com/shijunjing/edk2/tree/llvm. I find my most firmware modules work well after enable LTO, but some X64 modules will not run (e.g. hang with CPU exception) , and these X64 modules work well if build with the LTO disabled (-fno-lto).
I don't know how to efficien...
2016 May 16
2
How to debug if LTO generate wrong code?
...-dev at lists.llvm.org>> wrote:
> > Hello,
> >
> > I'm enabling clang LTO to improve code size of Uefi standard
> > (http://www.uefi.org/) firmware (https://github.com/tianocore/edk2),
> which
> > is mostly C code. My project is in https://github.com/shijunjing/edk2
> branch
> > llvm : https://github.com/shijunjing/edk2/tree/llvm. I find my most
> firmware
> > modules work well after enable LTO, but some X64 modules will not run
> (e.g.
> > hang with CPU exception) , and these X64 modules work well if build with
> the...