[Symbolize] Fix -Wunused-variable in -DLLVM_ENABLE_ASSERTIONS=off builds after D118633

This commit is contained in:
Fangrui Song 2022-02-09 14:08:47 -08:00
parent 009791e0db
commit f8701a30f6
1 changed files with 1 additions and 0 deletions

View File

@ -463,6 +463,7 @@ bool LLVMSymbolizer::getOrFindDebugBinary(const ArrayRef<uint8_t> BuildID,
Result = Path.str();
auto InsertResult = BuildIDPaths.insert({BuildIDStr, Result});
assert(InsertResult.second);
(void)InsertResult;
};
Optional<std::string> Path;