Use equals_lower() rather than creating a temporary string with lower().
More important than any performance concerns, the code was dropping the temporary string on the floor after assigning it to a StringRef, and then used the StringRef later. Caught by running the LLD tests under ASan. llvm-svn: 193486
Loading
Please register or sign in to comment