mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-20 10:24:12 +00:00
InstrProf: Allow hexadecimal function hashes in proftext format
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231685 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -113,7 +113,7 @@ std::error_code TextInstrProfReader::readNextRecord(InstrProfRecord &Record) {
|
||||
// Read the function hash.
|
||||
if (Line.is_at_end())
|
||||
return error(instrprof_error::truncated);
|
||||
if ((Line++)->getAsInteger(10, Record.Hash))
|
||||
if ((Line++)->getAsInteger(0, Record.Hash))
|
||||
return error(instrprof_error::malformed);
|
||||
|
||||
// Read the number of counters.
|
||||
|
Reference in New Issue
Block a user