Commit 74ebb3bb authored by williangaspar's avatar williangaspar

call_kaddr commented

parent e6b0ebf6
......@@ -1026,19 +1026,7 @@ attributes #1 = { argmemonly nounwind }
TEST(codegen, call_kaddr)
{
test("kprobe:f { @x = kaddr(\"avenrun\") }",
R"EXPECTED(; Function Attrs: nounwind
declare i64 @llvm.bpf.pseudo(i64, i64) #0
BDG run bpftrace_test, and copy-n-paste the '+' diff output here until bpftrace_test passes this test
; Function Attrs: argmemonly nounwind
declare void @llvm.lifetime.end.p0i8(i64, i8* nocapture) #1
attributes #0 = { nounwind }
attributes #1 = { argmemonly nounwind }
)EXPECTED");
// TODO: test kaddr()
}
TEST(codegen, call_hist)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment