OSDN Git Service

objtool: whitelist __sanitizer_cov_trace_switch()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 16 Feb 2020 18:07:49 +0000 (13:07 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 28 Mar 2020 03:58:53 +0000 (23:58 -0400)
commit36b1c7006736517f5a9d86eb6f8d5930a2aa64bf
treeadec5025e2316201c80c7c2475e96aa0ca0f9110
parentdc88588990945b14d6f7ed45b70ef7b1814a5f3e
objtool: whitelist __sanitizer_cov_trace_switch()

it's not really different from e.g. __sanitizer_cov_trace_cmp4();
as it is, the switches that generate an array of labels get
rejected by objtool, while slightly different set of cases
that gets compiled into a series of comparisons is accepted.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
tools/objtool/check.c