Home
last modified time | relevance | path

Searched refs:clang_opt (Results 1 – 4 of 4) sorted by relevance

/tools/perf/tests/
Dllvm.c101 if (!llvm_param.clang_opt) in test_llvm__fetch_bpf_obj()
102 llvm_param.clang_opt = strdup(""); in test_llvm__fetch_bpf_obj()
109 err = asprintf(&clang_opt_new, "-xc %s", llvm_param.clang_opt); in test_llvm__fetch_bpf_obj()
115 clang_opt_old = llvm_param.clang_opt; in test_llvm__fetch_bpf_obj()
116 llvm_param.clang_opt = clang_opt_new; in test_llvm__fetch_bpf_obj()
121 llvm_param.clang_opt = clang_opt_old; in test_llvm__fetch_bpf_obj()
/tools/perf/util/
Dllvm-utils.h27 const char *clang_opt; member
Dllvm-utils.c34 .clang_opt = NULL,
52 llvm_param.clang_opt = strdup(value); in perf_llvm_config()
440 const char *clang_opt = llvm_param.clang_opt; in llvm__compile_bpf() local
492 force_set_env("CLANG_OPTIONS", clang_opt); in llvm__compile_bpf()
/tools/perf/
Dbuiltin-record.c2551 OPT_STRING(0, "clang-opt", &llvm_param.clang_opt, "clang options",