aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorSamuel Zeter <[email protected]>2023-11-29 15:17:42 -0700
committerIngo Molnar <[email protected]>2023-11-30 09:38:10 +0100
commitf4570ebd836363dc7722b8eb8d099b311021af13 (patch)
tree41c985486c7f5504c8fd0b2558527aef2af54bdc /tools/testing/selftests/bpf/prog_tests/autoload.c
parent60c2ea7c89e375804171552d8ea53d9084ec3269 (diff)
x86/tools: objdump_reformat.awk: Allow for spaces
GNU objdump and LLVM objdump have differing output formats. Specifically, GNU objump will format its output as: address:<tab>hex, whereas LLVM objdump displays its output as address:<space>hex. objdump_reformat.awk incorrectly handles this discrepancy due to the unexpected space and as a result insn_decoder_test fails, as its input is garbled. The instruction line being tokenized now handles a space and colon, or tab delimiter. Signed-off-by: Samuel Zeter <[email protected]> Signed-off-by: Nathan Chancellor <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Tested-by: Nathan Chancellor <[email protected]> Tested-by: Kees Cook <[email protected]> Reviewed-by: Kees Cook <[email protected]> Acked-by: Masami Hiramatsu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Closes: https://github.com/ClangBuiltLinux/linux/issues/1364
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions