Unverified Commit 2b15fb16 authored by Nikita Popov's avatar Nikita Popov Committed by GitHub
Browse files

[gold] Don't pass StringRef to message() (#95083)

This is a printf style variadic function. If using a "%s" format, we
should pass "const char *" rather than "StringRef".

The use of data() here is safe because we know that the StringRef was
originally derived from a null-terminated string.
parent 400d4fd7
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment