diff options
author | Devang Patel <dpatel@apple.com> | 2009-12-02 15:25:16 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-12-02 15:25:16 +0000 |
commit | 69f57b1f41c818c5a89c40fd9a4bdca6a76ea934 (patch) | |
tree | 7b3bc0dd78de83bb3acad59f6c28274fee10f04f /lib/CodeGen/AsmPrinter/DwarfDebug.cpp | |
parent | 9ff5a23186f8761d9e5b4b5adf6fae9ce7d63860 (diff) |
Clarify that DIEString does not keep a copy of the string.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90318 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index dcb5900fe9..da2b9c3682 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -330,8 +330,8 @@ void DwarfDebug::addSInt(DIE *Die, unsigned Attribute, Die->addValue(Attribute, Form, Value); } -/// addString - Add a string attribute data and value. -/// +/// addString - Add a string attribute data and value. DIEString only +/// keeps string reference. void DwarfDebug::addString(DIE *Die, unsigned Attribute, unsigned Form, const StringRef String) { DIEValue *Value = new DIEString(String); |