Linux Perf
llvm.h File Reference
#include <stddef.h>
#include <stdbool.h>
Include dependency graph for llvm.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  test_llvm__testcase {
  LLVM_TESTCASE_BASE, LLVM_TESTCASE_KBUILD, LLVM_TESTCASE_BPF_PROLOGUE, LLVM_TESTCASE_BPF_RELOCATION,
  __LLVM_TESTCASE_MAX
}
 

Functions

int test_llvm__fetch_bpf_obj (void **p_obj_buf, size_t *p_obj_buf_sz, enum test_llvm__testcase index, bool force, bool *should_load_fail)
 

Variables

const char test_llvm__bpf_base_prog []
 
const char test_llvm__bpf_test_kbuild_prog []
 
const char test_llvm__bpf_test_prologue_prog []
 
const char test_llvm__bpf_test_relocation []
 

Enumeration Type Documentation

◆ test_llvm__testcase

Enumerator
LLVM_TESTCASE_BASE 
LLVM_TESTCASE_KBUILD 
LLVM_TESTCASE_BPF_PROLOGUE 
LLVM_TESTCASE_BPF_RELOCATION 
__LLVM_TESTCASE_MAX 

Definition at line 17 of file llvm.h.

Function Documentation

◆ test_llvm__fetch_bpf_obj()

int test_llvm__fetch_bpf_obj ( void **  p_obj_buf,
size_t *  p_obj_buf_sz,
enum test_llvm__testcase  index,
bool  force,
bool *  should_load_fail 
)

Definition at line 56 of file llvm.c.

Here is the call graph for this function:

Variable Documentation

◆ test_llvm__bpf_base_prog

const char test_llvm__bpf_base_prog[]

Definition at line 2 of file llvm-src-base.c.

◆ test_llvm__bpf_test_kbuild_prog

const char test_llvm__bpf_test_kbuild_prog[]

Definition at line 2 of file llvm-src-kbuild.c.

◆ test_llvm__bpf_test_prologue_prog

const char test_llvm__bpf_test_prologue_prog[]

Definition at line 2 of file llvm-src-prologue.c.

◆ test_llvm__bpf_test_relocation

const char test_llvm__bpf_test_relocation[]

Definition at line 2 of file llvm-src-relocation.c.