Use StringRef instead of std::string in DIEString.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89793 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel
2009-11-24 19:42:17 +00:00
parent f5a7a2c84a
commit e9a059714e
5 changed files with 6 additions and 6 deletions

View File

@@ -333,7 +333,7 @@ void DwarfDebug::addSInt(DIE *Die, unsigned Attribute,
/// addString - Add a string attribute data and value.
///
void DwarfDebug::addString(DIE *Die, unsigned Attribute, unsigned Form,
const std::string &String) {
const StringRef String) {
DIEValue *Value = new DIEString(String);
DIEValues.push_back(Value);
Die->addValue(Attribute, Form, Value);