search for: lastunique

Displaying 2 results from an estimated 2 matches for "lastunique".

2015 Apr 14
5
[LLVMdev] [cfe-dev] A problem with names that can not be demangled.
...> > ------------ start diff ------------------- > > @@ -54,5 +54,5 @@ void ValueSymbolTable::reinsertValue(Value* V) { > > // Trim any suffix off and append the next number. > > UniqueName.resize(BaseSize); > > - raw_svector_ostream(UniqueName) << ++LastUnique; > > + raw_svector_ostream(UniqueName) << "." << ++LastUnique; > > > > // Try insert the vmap entry with this suffix. > > -------------- end diff --------------------- > > > > However it causes 60 test failures. These are tests whe...
2015 Apr 14
0
[LLVMdev] [cfe-dev] A problem with names that can not be demangled.
...R/ValueSymbolTable.cpp seems to fix this problem. ------------ start diff ------------------- @@ -54,5 +54,5 @@ void ValueSymbolTable::reinsertValue(Value* V) { // Trim any suffix off and append the next number. UniqueName.resize(BaseSize); - raw_svector_ostream(UniqueName) << ++LastUnique; + raw_svector_ostream(UniqueName) << "." << ++LastUnique; // Try insert the vmap entry with this suffix. -------------- end diff --------------------- However it causes 60 test failures. These are tests where some names that are expecting to get a plain numeric su...