]> granicus.if.org Git - llvm/commit
[codeview] Check for a DIExpression offset for local variables
authorReid Kleckner <rnk@google.com>
Tue, 9 May 2017 19:59:29 +0000 (19:59 +0000)
committerReid Kleckner <rnk@google.com>
Tue, 9 May 2017 19:59:29 +0000 (19:59 +0000)
commite32aebf2791236438bae29f915005a11cee9966a
tree9a210888f47ef63e74df2c746071d9bc590ab7f4
parent8b2dee8975c4488a602f901f59fba9eb0797ff17
[codeview] Check for a DIExpression offset for local variables

Fixes inalloca parameters, which previously all pointed to the same
offset. Extend the test to use llvm-readobj so that we can test the
offset in a readable way.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302578 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/DebugInfoMetadata.h
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
lib/IR/DebugInfoMetadata.cpp
test/DebugInfo/X86/dbg-declare-inalloca.ll