Skip to content
Commit 4228baef authored by Adhemerval Zanella's avatar Adhemerval Zanella
Browse files

debug: Fix clang open fortify wrapper (BZ 31927)



The fcntl.h fortify wrapper for clang added by 86889e22
missed the __fortify_clang_overload_arg and and also added the
mode argument for the __fortify_function_error_function function,
which leads clang to be able to correct resolve which overloaded
function it should emit.

Checked on x86_64-linux-gnu.

Reported-by: default avatarKhem Raj <raj.khem@gmail.com>
Tested-by: default avatarKhem Raj <raj.khem@gmail.com>
parent c5579f3a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment