diff options
author | Kazu Hirata <kazu@google.com> | 2024-05-18 11:29:21 -0700 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2024-05-18 11:29:21 -0700 |
commit | 003cebdaccc4ad3a3b6f9e177ee5049c8b6a9cbb (patch) | |
tree | 8c1959631e5440ce7e3b7887d69e92ed327cc943 | |
parent | 577785c5ca78a9714584b5c99ec085f8aea0a5c0 (diff) | |
download | llvm-003cebdaccc4ad3a3b6f9e177ee5049c8b6a9cbb.zip llvm-003cebdaccc4ad3a3b6f9e177ee5049c8b6a9cbb.tar.gz llvm-003cebdaccc4ad3a3b6f9e177ee5049c8b6a9cbb.tar.bz2 |
[dsymutil] Use operator==(StringRef, StringRef) (NFC)
-rw-r--r-- | llvm/tools/dsymutil/MachODebugMapParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/dsymutil/MachODebugMapParser.cpp b/llvm/tools/dsymutil/MachODebugMapParser.cpp index 6a9f256..e28c976 100644 --- a/llvm/tools/dsymutil/MachODebugMapParser.cpp +++ b/llvm/tools/dsymutil/MachODebugMapParser.cpp @@ -301,7 +301,7 @@ void MachODebugMapParser::switchToNewLibDebugMapObject( if (CurrentDebugMapObject && CurrentDebugMapObject->getType() == MachO::N_LIB && - CurrentDebugMapObject->getObjectFilename().compare(Path.str()) == 0) { + CurrentDebugMapObject->getObjectFilename() == Path) { return; } |