clang-tags icon indicating copy to clipboard operation
clang-tags copied to clipboard

Unreliable trace method

Open lacombar opened this issue 9 years ago • 0 comments

The trace method currently used, relying on strance, is unreliable. It fails to handle build system spawning sub-make command. For exemple:

# ls src/
a.cc
# make -C build
Entering .../build/
# clang++ [...] ../src/a.cc

Will fail because clang-tags will fail to intercept the newly spawned instance of make. As a result, its cwd will be ./ instead of ./build and ../src/a.cc will not be considered existent.

lacombar avatar Mar 09 '15 18:03 lacombar