From b87da1501b7da694a1687d77a380ace929842599 Mon Sep 17 00:00:00 2001 From: Valentin Robert Date: Thu, 7 Dec 2023 09:09:19 -0800 Subject: [PATCH] derive `Show` for `FunArgAnalysisFailure` It's sometimes practical to debug the map of analysis failures by printing them all out, but we don't seem to have any facilities for printing them. --- base/src/Data/Macaw/Analysis/FunctionArgs.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/base/src/Data/Macaw/Analysis/FunctionArgs.hs b/base/src/Data/Macaw/Analysis/FunctionArgs.hs index 4bd8e0ad..d2070a2c 100644 --- a/base/src/Data/Macaw/Analysis/FunctionArgs.hs +++ b/base/src/Data/Macaw/Analysis/FunctionArgs.hs @@ -356,6 +356,7 @@ data FunctionArgAnalysisFailure w -- ^ Could not determine call arguments. | PLTStubNotSupported -- ^ PLT stub analysis not supported. + deriving (Show) -- | Monad that runs for computing the dependcies of each block. type FunctionArgsM arch ids =