X86FrameLowering: Fix getFrameIndexReference() for 'fixed' objects
authorMatthias Braun <matze@braunis.de>
Wed, 19 Apr 2017 23:10:43 +0000 (23:10 +0000)
committerMatthias Braun <matze@braunis.de>
Wed, 19 Apr 2017 23:10:43 +0000 (23:10 +0000)
commit372ee59766646c36f91224255784891a882ab99a
tree241f659dd96e6dea0a2424c30674e0b168190941
parent1838561dfe0e60cf87c6b15ab3c63f4124359c09
X86FrameLowering: Fix getFrameIndexReference() for 'fixed' objects

Debug information is calculated with getFrameIndexReference() which was
missing some logic for the fixed object cases (= parameters on the stack).

rdar://24557797

Differential Revision: https://reviews.llvm.org/D32204

llvm-svn: 300781
llvm/lib/Target/X86/X86FrameLowering.cpp
llvm/lib/Target/X86/X86RegisterInfo.h
llvm/test/CodeGen/X86/dbg-baseptr.ll [new file with mode: 0644]