Skip to content

Commit

Permalink
fix(scripts): fix check_bytecode.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoNardi committed Apr 19, 2023
1 parent e6a1331 commit b67c57b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/check_bytecode.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ set -x
set -e

# Compile eBPF to /tmp/obj.o
clang -g -O2 -c $1 -o /tmp/obj.o -target bpf -D__TARGET_ARCH_x86 -I crates/bpf-common/include/ -I crates/bpf-common/include/x86_64/
clang -g -O2 -c $1 -o /tmp/obj.o -target bpf -D__TARGET_ARCH_x86 -I crates/bpf-builder/include/ -I crates/bpf-builder/include/x86_64/
sleep 1
llvm-objdump -S --no-show-raw-insn /tmp/obj.o

0 comments on commit b67c57b

Please sign in to comment.