AsmPrinter: Extract DwarfStringPoolEntry from DwarfStringPool, NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sun, 24 May 2015 16:33:33 +0000 (16:33 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sun, 24 May 2015 16:33:33 +0000 (16:33 +0000)
commit17177280669918513b259c6830774dd99d5d7901
tree0dcafe40ae2f672cebb9ef88975e2407ee82243e
parente3ae958f94f6ceaaad9fed107316fbcc022a8628
AsmPrinter: Extract DwarfStringPoolEntry from DwarfStringPool, NFC

Extract out `DwarfStringPoolEntry` and `DwarfStringPoolRef` from
`DwarfStringPool` so that downstream users can start using
`DwarfStringPool::getEntry()` directly.  This will allow users to delay
the decision between emitting a symbol or an offset until later.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238116 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/DwarfStringPoolEntry.h [new file with mode: 0644]
lib/CodeGen/AsmPrinter/DwarfStringPool.cpp
lib/CodeGen/AsmPrinter/DwarfStringPool.h