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



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

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