summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/PDB
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2019-06-24 20:03:23 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2019-06-24 20:03:23 +0000
commit9c8282a9b33084d95c579e9f76daddfcd2f74c32 (patch)
tree31ff6a19c89f57ee9f3d040c93823bc5a5a3e6dd /llvm/lib/DebugInfo/PDB
parent94b43160963daa7fbbf561f00f3a4e682f60d91d (diff)
downloadbcm5719-llvm-9c8282a9b33084d95c579e9f76daddfcd2f74c32.tar.gz
bcm5719-llvm-9c8282a9b33084d95c579e9f76daddfcd2f74c32.zip
llvm-symbolizer: Add a FRAME command.
This command prints a description of the referenced function's stack frame. For each formal parameter and local variable, the tool prints: - function name - variable name - file/line of declaration - FP-relative variable location (if available) - size in bytes - HWASAN tag offset This information will be used by the HWASAN runtime to identify local variables in UAR reports. Differential Revision: https://reviews.llvm.org/D63468 llvm-svn: 364225
Diffstat (limited to 'llvm/lib/DebugInfo/PDB')
-rw-r--r--llvm/lib/DebugInfo/PDB/PDBContext.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/DebugInfo/PDB/PDBContext.cpp b/llvm/lib/DebugInfo/PDB/PDBContext.cpp
index 89c20e67413..e452f1d4ced 100644
--- a/llvm/lib/DebugInfo/PDB/PDBContext.cpp
+++ b/llvm/lib/DebugInfo/PDB/PDBContext.cpp
@@ -91,6 +91,11 @@ PDBContext::getInliningInfoForAddress(object::SectionedAddress Address,
return InlineInfo;
}
+std::vector<DILocal>
+PDBContext::getLocalsForAddress(object::SectionedAddress Address) {
+ return std::vector<DILocal>();
+}
+
std::string PDBContext::getFunctionName(uint64_t Address,
DINameKind NameKind) const {
if (NameKind == DINameKind::None)
OpenPOWER on IntegriCloud