Displaying 20 results from an estimated 2000 matches similar to: "libLTO C API stability policy"
2016 Oct 26
2
archiving LTO objects broken for current Xcode releases
The ability to archive object files generated with -flto under
LLVM.org clang 3.9.0 or 4.0svn trunk is broken against the currently
shipping Xcode releases including the upcoming Xcode 8.1 GM.
https://llvm.org/bugs/show_bug.cgi?id=30791
$ clang-3.9 -flto -O1 -c *.i
$ ar cr libtar.a paxerror.o paxexit-status.o paxnames.o rtapelib.o
stdopen.o wordsplit.o xattr-at.o
error: Unknown attribute kind
2016 Oct 26
0
archiving LTO objects broken for current Xcode releases
> On Oct 26, 2016, at 8:06 AM, Jack Howarth via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> The ability to archive object files generated with -flto under
> LLVM.org clang 3.9.0 or 4.0svn trunk is broken against the currently
> shipping Xcode releases including the upcoming Xcode 8.1 GM.
>
> https://llvm.org/bugs/show_bug.cgi?id=30791
>
> $ clang-3.9
2015 Dec 14
2
Build libLTO.a instead of libLTO.dylib with Cmake
Hello,
Is there any CMake variable available to build LLVM libs as static
libraries. I found one -DLIBCLANG_BUILD_STATIC=ON but what if I want
libLTO.a instead of libLTO.dylib ?
*Vivek Pandya*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151214/1e03efc9/attachment.html>
2012 Nov 08
1
[LLVMdev] Automating Analysis Pass at linktime question [liblto] [safecode]
Hello all,
I'm a research assistant at the University of Wisconsin and we're trying to
come up with a general way to run our whole program analysis over programs
that may use different methods to perform the build. I saw some discussion
that liblto could be used for this (and safecode successfully did it) for
llvm 2.6 - 3.0, but that doesn't seem to be working the same way with llvm
2009 Nov 12
2
[LLVMdev] libLTO on Mac OS X
Dear LLVMers,
I'm currently working on creating an alternate libLTO.so that will run
some whole-program analysis and transforms of mine during the final
linking of an executable. The idea is for it to link all of the bitcode
files together, run the regular LTO passes, and then run my passes. For
Linux, I should be able to get the Gold linker to load my libLTO.so
instead of the standard
2017 May 02
4
[LTO] -time-passes and libLTO
Hi,
We have been investigating an issue when running LTO with our proprietary
linker, which links against libLTO dynamically. The issue is that when we
pass -time-passes via the lto_codegen_debug_options function in the LTO C
API, no time information is produced during compilation. The reason for
this is that time information is stored in state owned by a ManagedStatic
instance, and is only
2009 Feb 20
2
[LLVMdev] libLTO warning
Hi all,
I just svn-updated the 2.5 branch on my machine and I noticed this warning
during the build.
*** Warning: Linking the shared library
/home/maurice/installation/llvm/Debug/lib/libLTO.la against the non-libtool
*** objects /home/maurice/installation/llvm/Debug/lib/LLVMCppBackend.o
/home/maurice/installation/llvm/Debug/lib/LLVMMSIL.o
/home/maurice/installation/llvm/Debug/lib/LLVMCBackend.o
2008 Nov 30
2
[LLVMdev] libLTO on linux
I'm looking into the possibility of building the libLTO plugin on Linux,
and got tangled up in the build system.
Currently, tools/Makefile only includes 'lto' when the OS equals Darwin,
while tools/lto/Makefile has an if-statement that builds libLTO as a
static library on non-Darwin systems.
If I try to build libLTO as a dynamic library on Linux, it works fine,
but I get an
2011 Nov 16
1
[LLVMdev] Wrong path to libLTO.so in LLVMgold.so on Linux
The path to libLTO.so in LLVMgold.so points to the build
directory on my machine:
% ldd /usr/local/lib/LLVMgold.so
linux-vdso.so.1 (0x00007fff3d795000)
/var/tmp/build_llvm_clang/Release+Asserts/lib/libLTO.so => not found
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f1703983000)
...
I have configured clang with:
../llvm/configure --enable-optimized
2018 Feb 06
1
how to avoid linking with libLTO?
Hi,
Is there a way to avoid linking with the dynamic LTO library.
I’m using llvm 5.0.0 on various platforms (linux, windows, macOS), this library is not required by my application and I keep having trouble with it. My project is cmake based and makes use of LLVMConfig.cmake or llvm-config output (depending on the platform - there is no LLVMConfig.cmake with the windows package).
On windows the
2009 Feb 20
0
[LLVMdev] libLTO warning
Maurice Gittens wrote:
> Hi all,
>
> I just svn-updated the 2.5 branch on my machine and I noticed this
> warning during the build.
>
> *** Warning: Linking the shared library
> /home/maurice/installation/llvm/Debug/lib/libLTO.la against the non-libtool
> *** objects /home/maurice/installation/llvm/Debug/lib/LLVMCppBackend.o
>
2011 Mar 24
2
[LLVMdev] Instrumentation with liblto and gold
Hi,
I need advice in instrumenting programs using liblto and gold plugin.
Specifically, I added my pass in tools/lto/LTOCodeGenerator.cpp.
My pass inserts functions (myLoad and myStore) for some load and store
instructions.
The functions exist in a library file.
I found that the approach works for the example in the link:
http://llvm.org/docs/GoldPlugin.html
$ llvm-gcc -flto a.c -c -o a.o
$ ar q
2017 May 03
2
[LTO] -time-passes and libLTO
2017-05-02 8:42 GMT-07:00 Duncan P. N. Exon Smith <dexonsmith at apple.com>:
> +Teresa, Mehdi
>
> On May 2, 2017, at 08:31, James Henderson <jh7370.2008 at my.bristol.ac.uk>
> wrote:
>
> Hi,
>
> We have been investigating an issue when running LTO with our proprietary
> linker, which links against libLTO dynamically. The issue is that when we
> pass
2011 Mar 24
0
[LLVMdev] Instrumentation with liblto and gold
On 3/24/11 6:23 PM, Sangmin Park wrote:
> Hi,
>
> I need advice in instrumenting programs using liblto and gold plugin.
> Specifically, I added my pass in tools/lto/LTOCodeGenerator.cpp.
> My pass inserts functions (myLoad and myStore) for some load and store
> instructions.
> The functions exist in a library file.
>
> I found that the approach works for the example in
2009 Nov 12
0
[LLVMdev] libLTO on Mac OS X
On Nov 12, 2009, at 11:43 AM, John Criswell wrote:
> Dear LLVMers,
>
> I'm currently working on creating an alternate libLTO.so that will run
> some whole-program analysis and transforms of mine during the final
> linking of an executable. The idea is for it to link all of the
> bitcode
> files together, run the regular LTO passes, and then run my passes.
> For
2011 Mar 25
1
[LLVMdev] Instrumentation with liblto and gold
Hi John,
Thank you for your advice.
LIBS and LDFLAGS work for the configure script,
but they gave errors in the make stage for apache and mysql.
I used either of the following ones with other flags:
- export LIBS="-L/home/sangmin/Dropbox/Falcon/bin/ -ldummy"
- export LDFLAGS="-L/home/sangmin/Dropbox/Falcon/bin/ -ldummy"
Here are the error messages:
Compile error (apache):
2011 Dec 19
3
[LLVMdev] Disassembly arbitrary machine-code byte arrays
Hi Aiden,
The 'C' based interface you could use in is llvm/include/llvm-c/Disassembler.h, which in there is:
/**
* Disassemble a single instruction using the disassembler context specified in
* the parameter DC. The bytes of the instruction are specified in the
* parameter Bytes, and contains at least BytesSize number of bytes. The
* instruction is at the address specified by the
2013 Sep 29
2
[LLVMdev] Add Support For .bss Named Section Directive For Darwin Targets
I believe it's a feature missing in MC -
https://github.com/opensource-apple/cctools/blob/4da58fd2fc026317ed9e9ef1feabf21ed0bb7a81/cctools-836/as/i386.c
line
539 adds support for the .bss directive if certain variables are defined,
and mainline gas supports it on all ARM targets:
https://sourceware.org/binutils/docs/as/ARM-Directives.html . Supporting
the directive on all Darwin targets could
2019 Oct 11
2
contributing llvm-install-name-tool
Hey everyone!
Recently there has been some progress on LLVM-based tools for manipulating
MachO binaries: llvm-objcopy has been gaining a lot of important bits to
support MachO (it's relatively close to the point where one can implement
the strip-like functionality), llvm-lipo is functional and supports most of
cctools' lipo options (https://llvm.org/docs/CommandGuide/llvm-lipo.html).
There
2012 Jan 14
3
[LLVMdev] Off Topic: Building ld
Thanks for your response, that's kinda what I've gathered over the years. I was hoping that the Xcode project would have "just worked".
I'll keep piece-mealing it together, and hope that it works.
I'll try to post a radar.
Joe
Joe Abbey
Director of S/W Development
Arxan Technologies, Inc.
1305 Cumberland Ave, Ste 215
West Lafayette, IN 47906
W: 765-889-4756 x2
C: