I think there is a way, but I'm not entirely sure. It's possible you've got the right thing & it's just that ThinLTO's optimized away most of the file you're looking at? On Sat, Jul 11, 2020 at 9:53 PM Stephan Z via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > Hi, > > I wanted to get the linked result in LLVM bitcode format. > > With LTO, this can be done by -flto -Wl,-plugin-opt,emit-llvm. Instead of generating native executables, it outputs a file with bitcode format. > > Does this still work with -flto=thin? -flto=thin -Wl,-plugin-opt,emit-llvm outputs a bitcode file, but its file size is too small, and does not contain all contents. > > What is the correct way to emit LLVM bitcode after ThinLTO? > > Thank you, S > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4