[X86] MOVPC32r should only emit CFI adjustments when needed
authorMichael Kuperstein <michael.m.kuperstein@intel.com>
Tue, 15 Dec 2015 18:50:32 +0000 (18:50 +0000)
committerMichael Kuperstein <michael.m.kuperstein@intel.com>
Tue, 15 Dec 2015 18:50:32 +0000 (18:50 +0000)
commit9960d684bffb67992b6a4fb8606de21ceab21d74
tree127d72b246f283aaf0588bd3c2af2169dabc675d
parent6e2ee6c7ea4d538dc164aebf2a9bd9543aa0476a
[X86] MOVPC32r should only emit CFI adjustments when needed

We only want to emit CFI adjustments when actually using DWARF.
This fixes PR25828.

Differential Revision: http://reviews.llvm.org/D15522

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255664 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86MCInstLower.cpp
test/CodeGen/X86/pr25828.ll [new file with mode: 0644]