I keep getting the following error after I have generated llvm IR ( using a Module->print(errs(),nullptr) ) -
"pure virtual method called terminate called without an active exception."
On the last line of the program , after everything has been executed , I get this error.
Can anyone explain this ?
Following is my LLVM IR - ( Kindly do not pay attention to semantics as it is for a personal project)
When compiled using llvm-as and then lli , it works as expected.