Displaying 6 results from an estimated 6 matches for "__lto__".
Did you mean:
__eot__
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_
inte...
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 c...
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 expo...
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 = 0x000...
2008 Feb 26
2
[LLVMdev] new LTO C interface
I've updated the header (enclosed).

On Feb 24, 2008, at 11:24 PM, Evan Cheng wrote:
> 1. __LTO__ -> LLVM_C_LTO
> 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.
As we discussed, this is interface is llvm independent. It may even
migrate out of include/llvm-c at some point.
>...
2008 Feb 25
0
[LLVMdev] new LTO C interface
Hi Nick,
I don't have any comments on the substance of the APIs (I'm not expert
in this area), just some style notes. Overall, the capitalization
style is inconsistent with the bulk of the C bindings, which are more
Carbon than GNU.
On Feb 23, 2008, at 01:34, Nick Kledzik wrote:
> #include <stdint.h>
> #include <stdbool.h>
Note that MSVC++ still doesn't