aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/repo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/repo.cpp')
-rw-r--r--src/repo.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/repo.cpp b/src/repo.cpp
index edd62d5..7a19c83 100644
--- a/src/repo.cpp
+++ b/src/repo.cpp
@@ -155,6 +155,11 @@ namespace pdb
return symbol_from_buffer(dbghelp.resolve_symbol(name));
}
+ LineInfo Repo::resolve_line(Address online) const
+ {
+ return dbghelp.resolve_line(address_online_to_offline(online));
+ }
+
const Module& Repo::module_with_online_base(Address base) const
{
return lookup_module(online_bases, base);