Skip to content
Commit 50e5b329 authored by Chandler Carruth's avatar Chandler Carruth
Browse files

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
parent 817d69cb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment