mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-18 10:32:48 +02:00
[NFC][llvm-dwarfdump] Avoid passing std::string by value in collectStatsForDie()
This commit is contained in:
parent
b44324fc5c
commit
6a6d1c647a
@ -220,9 +220,9 @@ static uint64_t calculateOverlap(DWARFAddressRange A, DWARFAddressRange B) {
|
||||
}
|
||||
|
||||
/// Collect debug info quality metrics for one DIE.
|
||||
static void collectStatsForDie(DWARFDie Die, std::string FnPrefix,
|
||||
std::string VarPrefix, uint64_t BytesInScope,
|
||||
uint32_t InlineDepth,
|
||||
static void collectStatsForDie(DWARFDie Die, const std::string &FnPrefix,
|
||||
const std::string &VarPrefix,
|
||||
uint64_t BytesInScope, uint32_t InlineDepth,
|
||||
StringMap<PerFunctionStats> &FnStatMap,
|
||||
GlobalStats &GlobalStats,
|
||||
LocationStats &LocStats,
|
||||
|
Loading…
Reference in New Issue
Block a user