projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
674910d
)
Fix pecoff/export.test on Windows.
author
Rui Ueyama
<ruiu@google.com>
Wed, 11 Jun 2014 01:18:05 +0000
(
01:18
+0000)
committer
Rui Ueyama
<ruiu@google.com>
Wed, 11 Jun 2014 01:18:05 +0000
(
01:18
+0000)
llvm-svn: 210621
lld/lib/ReaderWriter/PECOFF/LinkerGeneratedSymbolFile.h
patch
|
blob
|
history
diff --git
a/lld/lib/ReaderWriter/PECOFF/LinkerGeneratedSymbolFile.h
b/lld/lib/ReaderWriter/PECOFF/LinkerGeneratedSymbolFile.h
index
d8f7758
..
3cfc8a5
100644
(file)
--- a/
lld/lib/ReaderWriter/PECOFF/LinkerGeneratedSymbolFile.h
+++ b/
lld/lib/ReaderWriter/PECOFF/LinkerGeneratedSymbolFile.h
@@
-245,7
+245,7
@@
private:
return false;
if (it->size() == sym.size())
continue;
- StringRef suffix =
it->
substr(sym.size());
+ StringRef suffix =
StringRef(*it).
substr(sym.size());
if (suffix.find_first_not_of("0123456789") != StringRef::npos)
continue;
res = *it;