Sign in
gnu
/
gcc
/
refs/heads/devel/omp/ompd
/
.
/
gcc
/
testsuite
/
gcc.target
/
bpf
/
helper-get-current-pid-tgid.c
blob: 1dd7a1e507b9a27a716d2e014fff9e3c86231b40 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-std=gnu99" } */
#include
<stdint.h>
#include
<bpf-helpers.h>
void
foo
()
{
uint64_t
ret
;
ret
=
bpf_get_current_pid_tgid
();
}
/* { dg-final { scan-assembler "call\t14" } } */