lib/tldr/src/formats/elf/layout/symbol.zig

daab053ee43316e1809a84551d573ddd1e5bf3d2

 1 pub const SymbolRef = struct {
 2     object_index: usize,
 3     symbol_index: usize,
 4 
 5     pub fn eql(self: SymbolRef, other: SymbolRef) bool {
 6         return self.object_index == other.object_index and self.symbol_index == other.symbol_index;
 7     }
 8 };
 9 
10 pub const GlobalSymbol = struct {
11     ref: SymbolRef,
12     ref_index: u32 = 0,
13     weak: bool,
14     common: bool,
15 };