aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/aflow/flow/patching
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2026-02-05 13:59:08 +0100
committerDmitry Vyukov <dvyukov@google.com>2026-02-06 09:29:18 +0000
commitfd36daf55d7f9e8ab412fcbf0441658a8d8be727 (patch)
tree6d0a982741820007d1a15212e0227df85eb1b501 /pkg/aflow/flow/patching
parentf03c419189ef8ed823e306a342ee4d330fb2c394 (diff)
tools/clang: compile clang tools into the binary
Compiled clang tools into Go binaries using cgo. This significantly simplifies building and deployment. This also enables unit testing of clang tools. Now raw go test for clang tools will build them, run, and verify output. Each clang tool is still started as a subprocess. I've experimented with running them in-process, but this makes stdout/stderr interception extremly complicated, and it seems that clang tools still use unsynchronized global state, which breaks when invoked multiple times. Subprocesses also make it safer in the face of potential memory leaks, or memory corruptions in clang tools. Fixes #6645
Diffstat (limited to 'pkg/aflow/flow/patching')
0 files changed, 0 insertions, 0 deletions