Skip to content

Commit

Permalink
ARC: pahole: workaround
Browse files Browse the repository at this point in the history
ARC toolchains generate 'complex float' DIE entries in libgcc.
At the moment such entries are not yet handled by pahole.
So for now disable BTF floats.

Signed-off-by: Vladimir Isaev <[email protected]>
  • Loading branch information
Vladimir Isaev authored and Sergey Matyukevich committed Apr 15, 2022
1 parent b2500ed commit b3f0ecc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/pahole-flags.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if [ "${pahole_ver}" -ge "118" ] && [ "${pahole_ver}" -le "121" ]; then
extra_paholeopt="${extra_paholeopt} --skip_encoding_btf_vars"
fi
if [ "${pahole_ver}" -ge "121" ]; then
extra_paholeopt="${extra_paholeopt} --btf_gen_floats"
extra_paholeopt="${extra_paholeopt}"
fi

echo ${extra_paholeopt}

0 comments on commit b3f0ecc

Please sign in to comment.