| commit | 16abfc97fbae2f682236a5cd6e6394347037a824 | [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 | 80277ec5f07b2ccce209f1cfb0730a9d14fdadca | |
| parent | a68bdef4823e0764fde7e9f44beefd2c561204a6 [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*". llvm-svn: 68741