asmith added a comment. The same logic is in DIASession::findSymbolByAddress which tries to find a symbol by VA then by RVA. Ill see if there are some test cases that show why this is necessary. Repository: rL LLVM https://reviews.llvm.org/D44407