Struct llvm_link::Object [] [src]

pub struct Object { /* fields omitted */ }

Link Time Optimization Object

Object that is fully loaded into memory. This contains its own buffer as the LLVM is quickly free its memory after generating an Object File.

Methods

impl Object
[src]

Builds a new object file.

Builds a new object file

But clones the underlying buffer to ensure ownership

Internal method to steal inner buffer.

Swaps v with own internal buffer. Be warned THE LLVM HAS POINTERS TO THIS if v is free'd before self this can cause memory errors

Trait Implementations

impl Drop for Object
[src]

A method called when the value goes out of scope. Read more

impl LinkerObject for Object
[src]

Exposes internal C-binding poitner

Get the number of symbols in an object file

Get the name of a symbol at a certain index

Get the target triple an object file was compiled for