Use value semantics to manage DbgVariables rather than dynamic allocation/pointers.
authorDavid Blaikie <dblaikie@gmail.com>
Mon, 21 Apr 2014 20:13:09 +0000 (20:13 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Mon, 21 Apr 2014 20:13:09 +0000 (20:13 +0000)
commitd0da5af325afa67a25e06b1a781a41c83d3149db
treeb6e1781b930eba6251daa349870aeb7fdacf5e9c
parentc5b286bc418714ed7428eafacfdd45ad95800468
Use value semantics to manage DbgVariables rather than dynamic allocation/pointers.

Requires switching some vectors to lists to maintain pointer validity.
These could be changed to forward_lists (singly linked) with a bit more
work - I've left comments to that effect.

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