AsmPrinter: Stop storing MDLocalVariable in DebugLocEntry
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 17 Apr 2015 16:33:37 +0000 (16:33 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 17 Apr 2015 16:33:37 +0000 (16:33 +0000)
commitf98df953fb9dc50411d9c6582a7f4e830c13845b
treedbc99141cd7b681b000e9512ccefb9d12586ccdd
parent7c554b51eac89f5d0a384746bf372818d9828eeb
AsmPrinter: Stop storing MDLocalVariable in DebugLocEntry

Stop storing the `MDLocalVariable` in the `DebugLocEntry::Value`s.  We
generate the list of `DebugLocEntry`s separately for each
variable/inlined-at pair, so the variable never actually changes here.

This is effectively NFC (aside from saving some memory and CPU time).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235202 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DebugLocEntry.h
lib/CodeGen/AsmPrinter/DwarfDebug.cpp