Skip to content

Commit

Permalink
Show instance for MemSymbol
Browse files Browse the repository at this point in the history
  • Loading branch information
Ptival committed Apr 8, 2024
1 parent 0b9d062 commit f755427
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions base/src/Data/Macaw/Memory/ElfLoader.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1607,6 +1607,7 @@ data MemSymbol w = MemSymbol { memSymbolName :: !BS.ByteString
, memSymbolSize :: !(MemWord w)
-- ^ Size of symbol as defined in table.
}
deriving (Show)

instance Eq (MemSymbol w) where
x == y = memSymbolStart x == memSymbolStart y
Expand Down

0 comments on commit f755427

Please sign in to comment.