Struct llvm_link::ObjFile [] [src]

pub struct ObjFile { /* fields omitted */ }

Object Files loaded from the File System into LLVM directly

These files are not part of Rust's memory. They remain within the LLVM. The ObjectFile type is really only 1 ptr wide

Methods

impl ObjFile
[src]

Load an Object File from the file system

Load an Object File asserting its target triple

Check if path leads to an object file

Check if path is an object file for a specific target triple

Functionally this is an identical operation to ObjFile::new

The only difference is the internal path is not re-allocated as CStr implies there is always a null terminator. While AsRef<path> is a very nice Rusty way to handle path variables.

Functionally this is identical to the operation ObjFile::is_object_file

Just the internal path is not re-allocated

Functionally this is identical to the operation ObjFile::is_object_file_for_target

Just the internal path is not re-allocated

Trait Implementations

impl Drop for ObjFile
[src]

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

impl LinkerObject for ObjFile
[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