I’m reading the llvm code of IRTranslator. By simply searching the repository. I found the function translateLoad never get called in any part of the source tree. How does this happen? Many thanks!!!
I think it’ll be called by some TableGen generated code. One way to figure out is to delete the function and its declaration and try to build LLVM?
Another way is to add
abort() in the function body and run the tests, it should produce a stack trace (better build in Debug mode to get accurate info)
Did you try the advice I gave you?
Got it. Sorry for my careless