Skip to content

Commit 003cebd

Browse files
[dsymutil] Use operator==(StringRef, StringRef) (NFC)
1 parent 577785c commit 003cebd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/tools/dsymutil/MachODebugMapParser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ void MachODebugMapParser::switchToNewLibDebugMapObject(
301301

302302
if (CurrentDebugMapObject &&
303303
CurrentDebugMapObject->getType() == MachO::N_LIB &&
304-
CurrentDebugMapObject->getObjectFilename().compare(Path.str()) == 0) {
304+
CurrentDebugMapObject->getObjectFilename() == Path) {
305305
return;
306306
}
307307

0 commit comments

Comments
 (0)