Sign in
llvm
/
llvm-project
/
5369517d20dd362a178a1b2d6c398d8898ee4620
/
.
/
llvm
/
utils
/
gn
/
secondary
/
llvm
/
utils
/
llvm-lit
/
lit_path_function.gni
blob: f877dc100dac4095e46d45720b0f39c4009c7210 [
file
] [
log
] [
blame
]
lit_path_function
=
"# Takes a path that's relative to __file__ and makes it absolute.\n"
+
"def path(p):\n"
+
" return os.path.abspath(os.path.join(__file__, '..', p)) if p else ''"