swr: Fix non-pod-varargs error.
authorVinson Lee <vlee@freedesktop.org>
Sat, 29 Feb 2020 23:18:58 +0000 (15:18 -0800)
committerMarge Bot <eric+marge@anholt.net>
Fri, 6 Mar 2020 01:19:50 +0000 (01:19 +0000)
commit382b902a6db87a2b0409b760c320555d1f4eadca
treefe3bb056fee416abbe92e4d93837227a0cce7728
parented0bea4495aef3dd50fc0c9b8b05836b58a3cfc1
swr: Fix non-pod-varargs error.

../src/gallium/drivers/swr/rasterizer/jitter/functionpasses/lower_x86.cpp:391:24: error: cannot pass object of non-trivial type 'std::string' (aka 'basic_string<char>') through variadic function; call will abort at runtime [-Wnon-pod-varargs]
                       pFunc->getName().str());
                       ^

Fixes: ff8265b64ff1 ("gallium/swr: Fix llvm11 compilation issues")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Jan Zielinski <jan.zielinski@intel.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4008>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4008>
src/gallium/drivers/swr/rasterizer/jitter/functionpasses/lower_x86.cpp