Make getCompileUnitForAddress public.
authorSterling Augustine <saugustine@google.com>
Tue, 28 Apr 2020 22:19:58 +0000 (15:19 -0700)
committerSterling Augustine <saugustine@google.com>
Tue, 28 Apr 2020 23:51:23 +0000 (16:51 -0700)
commit3421d1ede4c1f4f9cb39d5319482c929c03f62fb
tree995ede37fd637dec8b0db361d89b37699f569396
parent35edd704e0fda09e8e634515c0b451d4a8b6b914
Make getCompileUnitForAddress public.

Summary:
Certain dwarf information (like the compilation directory), are only
accessible from the compile unit. Make it available for use.

Subscribers: aprantl, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79048
llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h