commit | f34be827ac3bb257939e31575fcfc9ef27b94306 | [log] [tgz] |
---|---|---|
author | Bill Wendling <isanbard@gmail.com> | Thu Apr 09 23:51:31 2009 +0000 |
committer | Bill Wendling <isanbard@gmail.com> | Thu Apr 09 23:51:31 2009 +0000 |
tree | 05d52f8774cc4fbc61ee547bf93b003dc4f5abcb | |
parent | 923838533a005154c3a30271aa3186a633102a9c [diff] |
StringMap<DIE*>::iterator::first() returns a pointer to the first character of the key. This will cause it to create a new std::string, which isn't wanted. Instead, pass back the "const char*". Modify the EmitString() method to take a "const char*". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68741 91177308-0d34-0410-b5e6-96231b3b80d8