From 592125ef53831528bb6c40f928d812421667136a Mon Sep 17 00:00:00 2001
From: aejjeh <aejjeh@illinois.edu>
Date: Tue, 21 Jan 2020 14:02:26 -0600
Subject: [PATCH] Update GenVISC.cpp error message when visc-rt cannot be
 found.

---
 hpvm/lib/Transforms/GenVISC/GenVISC.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hpvm/lib/Transforms/GenVISC/GenVISC.cpp b/hpvm/lib/Transforms/GenVISC/GenVISC.cpp
index 799de784c8..b0aaacaed3 100644
--- a/hpvm/lib/Transforms/GenVISC/GenVISC.cpp
+++ b/hpvm/lib/Transforms/GenVISC/GenVISC.cpp
@@ -274,7 +274,7 @@ bool GenVISC::runOnModule(Module &M) {
       parseIRFile(runtimeAPI.str(), Err, M.getContext());
 
   if (runtimeModule == NULL)
-    DEBUG(errs() << Err.getMessage());
+    DEBUG(errs() << Err.getMessage() << " " << rutimeAPI << "\n");
   else
     DEBUG(errs() << "Successfully loaded visc-rt API module\n");
 
-- 
GitLab