diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-03-03 16:45:34 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-03-03 16:45:34 +0000 |
commit | b353849c9e10a30ca0b037b2ebfaa0b764de748b (patch) | |
tree | 80f766d264ee76088fc642b75851a8976d1e671e /llvm/test/DebugInfo/X86/nondefault-subrange-array.ll | |
parent | bebb54050b76f43c49be767ec3e7430c9eb15b6e (diff) | |
download | bcm5719-llvm-b353849c9e10a30ca0b037b2ebfaa0b764de748b.tar.gz bcm5719-llvm-b353849c9e10a30ca0b037b2ebfaa0b764de748b.zip |
IR: Add missing API to specialized metadata nodes
Add the final bits of API that `DIBuilder` needs before the new nodes
can be moved into place.
- Add `MDType::clone()` and `MDType::setFlags()` to support
`DIBuilder::createTypeWithFlags()`.
- Add `MDBasicType::get()` overload that just requires a tag and a
name, as a convenience for `DIBuilder::createUnspecifiedType()`.
- Add `MDLocalVariable::withInline()` and
`MDLocalVariable::withoutInline()` to support
`llvm::createInlinedVariable()` and
`llvm::cleanseInlinedVariable()`.
(Somehow these got lost inside the "move into place" patch I'm about to
commit -- better to commit separately!)
llvm-svn: 231079
Diffstat (limited to 'llvm/test/DebugInfo/X86/nondefault-subrange-array.ll')
0 files changed, 0 insertions, 0 deletions