search for: lto_

Displaying 10 results from an estimated 10 matches for "lto_".

Did you mean: lto
2008 Feb 25
2
[LLVMdev] new LTO C interface
I'll work on another round with the feedback so far. On SundayFeb 24, at Feb 24, Sunday11:24 PM, Evan Cheng wrote: > 1. __LTO__ -> LLVM_C_LTO This one is actually interesting. The names started out with llvm in them, but then we realized that this was a generic interface from the linker to some foreign object file format. So, some other compiler could create an LTO shared object that exports the same lto_ int...
2008 Feb 25
0
[LLVMdev] new LTO C interface
On Feb 25, 2008, at 11:02 AM, Nick Kledzik wrote: > I'll work on another round with the feedback so far. > > > On SundayFeb 24, at Feb 24, Sunday11:24 PM, Evan Cheng wrote: >> 1. __LTO__ -> LLVM_C_LTO > > This one is actually interesting. The names started out with llvm > in them, but then we realized that this was a generic interface from > the linker to some foreign object file format. So, some other > compiler could create an LTO shared object that exp...
2018 Feb 08
2
LLD: targeting cygwin
...} .bss BLOCK(__section_alignment__) : { __bss_start__ = . ; *(.bss) *(COMMON) __bss_end__ = . ; } .edata BLOCK(__section_alignment__) : { *(.edata) } /DISCARD/ : { *(.debug$S) *(.debug$T) *(.debug$F) *(.drectve) *(.note.GNU-stack) *(.gnu.lto_*) } .idata BLOCK(__section_alignment__) : { /* This cannot currently be handled with grouped sections. See pep.em:sort_sections. */ KEEP (SORT(*)(.idata$2)) KEEP (SORT(*)(.idata$3)) /* These zeroes mark the end of the import list. */ LONG (0); LONG (0); LONG (0); LON...
2018 Feb 09
0
LLD: targeting cygwin
...bss) > *(COMMON) > __bss_end__ = . ; > } > .edata BLOCK(__section_alignment__) : > { > *(.edata) > } > /DISCARD/ : > { > *(.debug$S) > *(.debug$T) > *(.debug$F) > *(.drectve) > *(.note.GNU-stack) > *(.gnu.lto_*) > } > .idata BLOCK(__section_alignment__) : > { > /* This cannot currently be handled with grouped sections. > See pep.em:sort_sections. */ > KEEP (SORT(*)(.idata$2)) > KEEP (SORT(*)(.idata$3)) > /* These zeroes mark the end of the import list....
2008 Feb 25
0
[LLVMdev] new LTO C interface
More stylistic nitpicking for consistency sakes... 1. __LTO__ -> LLVM_C_LTO 2. Do we need those #include's? 3. Rather than using underscore in function names, e.g. lt_foo_bar, use capital letters and also start with prefix LLVM. e.g. LLVMLTOFooBar. 4. lto_codegen_release -> lto_codegen_release_memory to be clearer and more consistent. 5. Use C...
2018 Feb 07
0
LLD: targeting cygwin
COFF lld doesn't support the linker script at the moment, and I'm sad to say that it is very unlikely to support that in the future. Linker script support is so huge that I can't imagine we really want it for COFF. GNU BFD linker supports it because the linker is built as an interpreter for the built-in linker script (and that's one of the reasons why GNU linker is by far more
2018 Feb 07
2
LLD: targeting cygwin
Hello, I have a user who is trying to get LLD to link for the cygwin target: https://github.com/zig-lang/zig/issues/751 Currently the issue they are running into is needing to define a linker script, but the COFF driver (or MinGW driver) does not have support for that. Is there documentation or advice for how to use LLD to link for cygwin? As a starting point, which driver to use? Regards,
2019 Jan 21
0
[PATCH] ia64: Fix shared build
...es 0 : { *(.debug_pubtypes) } + .debug_ranges 0 : { *(.debug_ranges) } + /* DWARF Extension. */ + .debug_macro 0 : { *(.debug_macro) } + .debug_addr 0 : { *(.debug_addr) } + .gnu.attributes 0 : { KEEP (*(.gnu.attributes)) } + /DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) *(.gnu.lto_*) } +} diff --git a/usr/klibc/arch/ia64/pipe.S b/usr/klibc/arch/ia64/pipe.S index 8ecd972..ae31a3a 100644 --- a/usr/klibc/arch/ia64/pipe.S +++ b/usr/klibc/arch/ia64/pipe.S @@ -13,17 +13,15 @@ pipe: cmp.ne p6, p7 = -1, r10 mov r15 = r0 ;; -(p7) addl r14 = @ltoffx(errno), r1 - (p6) st4 [r32] =...
2019 Jan 21
0
[klibc:master] ia64: Fix shared build
...es 0 : { *(.debug_pubtypes) } + .debug_ranges 0 : { *(.debug_ranges) } + /* DWARF Extension. */ + .debug_macro 0 : { *(.debug_macro) } + .debug_addr 0 : { *(.debug_addr) } + .gnu.attributes 0 : { KEEP (*(.gnu.attributes)) } + /DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) *(.gnu.lto_*) } +} diff --git a/usr/klibc/arch/ia64/pipe.S b/usr/klibc/arch/ia64/pipe.S index 8ecd972..ae31a3a 100644 --- a/usr/klibc/arch/ia64/pipe.S +++ b/usr/klibc/arch/ia64/pipe.S @@ -13,17 +13,15 @@ pipe: cmp.ne p6, p7 = -1, r10 mov r15 = r0 ;; -(p7) addl r14 = @ltoffx(errno), r1 - (p6) st4 [r32] =...
2008 Feb 23
5
[LLVMdev] new LTO C interface
...------- -===// // // This header provides public interface to an abstract link time optimization // library. LLVM provides an implementation of this interface for use with // llvm bitcode files. // // ===--------------------------------------------------------------------- -===// #ifndef __LTO__H__ #define __LTO__H__ #include <stdint.h> #include <stdbool.h> #include <stddef.h> typedef enum { LTO_SYMBOL_ALIGNMENT_MASK = 0x0000001F, /* log2 of alignment */ LTO_SYMBOL_PERMISSIONS_MASK = 0x000000E0, LTO_SYMBOL_PERMISSIONS_CODE = 0x00...