lto Questions
3
Solved
I've written a standard Analysis pass in LLVM, by extending the FunctionPass class. Everything seems to make sense.
Now what I'd like to do is write a couple of intermodular passes, that is, passe...
Conundrum asked 12/5, 2015 at 18:1
2
Solved
Which information does GCC collect when I enable -fprofile-generate and which optimization does in fact uses the collected information (when setting the -fprofile-use flag) ?
I need citations here...
0
I have binutils-2.25.1 installed to /usr/local/binutils-2.25.1, configured with
../configure --prefix=/usr/local/binutils-2.25.1 --enable-plugins --enable-gold --disable-werror
And I want to bui...
1
Solved
When I'm trying to compile my project with 64-bit mingw (x86_64-5.1.0-posix-seh-rt_v4-rev0) I got messages:
BFD: my/project/dir/filename.cpp.obj: plugin needed to handle lto object
for each sour...
Amman asked 26/8, 2015 at 8:10
1
Solved
If I want to compile my project with -flto is it enough to have built gcc with --enable-gold or do I also need to build gold and replace ld with it? And do I need any other flags? Ie I'm doing this...
Favorable asked 28/7, 2015 at 22:16
2
In C, if I have a function call that looks like
// main.c
...
do_work_on_object(object, arg1, arg2);
...
// object.c
void do_work_on_object(struct object_t *object, int arg1, int arg2)
{
if(obje...
Merissameristem asked 17/4, 2015 at 17:47
2
Solved
I have tried to compile to assembler my source code with next flags:
1. -flto
2. -flto -ffat-lto-objects
3. -flto -fno-fat-lto-objects
Third one provides optimized slim LTO code as written in docu...
Unlicensed asked 10/12, 2012 at 10:50
1
I am attempting to use GCC 4.9.2 to cross compile an application from Linux (x86_64-pc-linux-gnu) for Windows (x86_64-w64-mingw32).
When building targets that link against static libraries and als...
Pane asked 9/12, 2014 at 6:24
1
Solved
Exist any way to detect if code is compiled with -flto?
Example is classic library or executable under Linux compiled with GCC (4.9.1), without debugging.
1
Solved
When using clang 3.5.0 with -flto and linking with a shared library, it seems that calls to operator delete in the shared library don't follow the same symbol resolution order as calls to operator ...
2
When I compiled Chrome V8 under ubuntu 12.04, I encountered a problem that is
arm-linux-androideabi-g++:fatal error, -fuse-linker-plugin, but liblto_plugin.so not found
The ndk version is r8b...
1
Solved
I am using buildroot to prepare images for embedded system. I want to export buildroots internal cross compiler so others can use same version, After command checking GCC version: arm-linux-gcc -vI...
Mannish asked 6/11, 2013 at 8:24
1
I'm a newcomer to clang, so it's likely I'm doing something silly. But I've spent several hours looking for solutions, including searching here, where I haven't found questions addressing -flto wit...
© 2022 - 2024 — McMap. All rights reserved.