Exception: Rubycc::ObjFile::ArFormatError

Inherits:
Error
  • Object
show all
Defined in:
lib/rubycc/objfile/ar_archive.rb

Overview

Raised for any input that is not a well-formed GNU ar archive this reader accepts: a bad global magic, a member header that is truncated or missing its \x60\n terminator, a non-numeric size field, a size that runs past the end of the file, or a long-name reference that cannot be resolved against the // extended-name table. The message names the specific defect so the linker (L3), which reads static libraries through this class, can surface it.