Skip to content

Commit

Permalink
[dsymutil] Use operator==(StringRef, StringRef) (NFC)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazutakahirata committed May 18, 2024
1 parent 577785c commit 003cebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/tools/dsymutil/MachODebugMapParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ void MachODebugMapParser::switchToNewLibDebugMapObject(

if (CurrentDebugMapObject &&
CurrentDebugMapObject->getType() == MachO::N_LIB &&
CurrentDebugMapObject->getObjectFilename().compare(Path.str()) == 0) {
CurrentDebugMapObject->getObjectFilename() == Path) {
return;
}

Expand Down

0 comments on commit 003cebd

Please sign in to comment.