Module: LLVM::Target::TargetModule

Extended by:
FFI::Library
Defined in:
lib/llvm/target.rb

Overview

Initializes target target; in particular, TargetInfo, Target and TargetMC.

Class Method Summary collapse

Class Method Details

.safe_attach_function(*args) ⇒ Object



29
30
31
32
33
# File 'lib/llvm/target.rb', line 29

def self.safe_attach_function(*args)
  attach_function(*args)
rescue FFI::NotFoundError => e
  warn(e)
end