MCPcopy Create free account
hub / github.com/VKCOM/kphp / finalize_precompiled_header

Function finalize_precompiled_header

compiler/make/make.cpp:253–275  ·  view source on GitHub ↗

copy dir kphp_out/objs/pch_{flags} inside /tmp/kphp_pch and unlink original finally, a folder inside tmp will contain runtime-headers.h and pch folder contents note, that a .gch file way even not exist, it's okay: just copy full folder (for instance, nocc emits a .nocc-pch file instead of requested .gch) todo it's better to use H2PchTarget::after_run_success() for this todo why do we need /tmp/kph

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 9

mkdir_recursiveFunction · 0.85
hard_link_or_copyFunction · 0.85
kbasenameFunction · 0.85
opendirFunction · 0.85
readdirFunction · 0.85
unlinkFunction · 0.85
substrMethod · 0.80
rfindMethod · 0.80
unlinkMethod · 0.80

Tested by

no test coverage detected