Skip to content

Commit

Permalink
Update and adapt to GaloisInc/crucible#886 "dbg-def-use".
Browse files Browse the repository at this point in the history
This adds a new translation-warnings output to function
`translateModule`. Currently the translation warnings are ignored.
  • Loading branch information
Brian Huffman committed Nov 12, 2021
1 parent 99b783a commit 28aff7c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/SAWScript/Crucible/LLVM/MethodSpecIR.hs
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,8 @@ loadLLVMModule file halloc =
Left err -> return (Left err)
Right llvm_mod ->
do memVar <- CL.mkMemVar (Text.pack "saw:llvm_memory") halloc
Some mtrans <- CL.translateModule halloc memVar llvm_mod
-- FIXME: do something with the translation warnings
(Some mtrans, _warnings) <- CL.translateModule halloc memVar llvm_mod
return (Right (Some (LLVMModule file llvm_mod mtrans)))

instance TestEquality LLVMModule where
Expand Down

0 comments on commit 28aff7c

Please sign in to comment.