diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2024-01-09 10:52:58 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2024-01-09 10:52:58 +0200 |
commit | 8bda0cde0a0ce2b713753666c438df8638583b91 (patch) | |
tree | 17c4b441ebbc37540b27421a12b783e0477434f9 /libbuild2/in/rule.cxx | |
parent | 16f5b5d540950f882ee20b13114917f420f41cbb (diff) |
Disable use of -frewrite-includes for assembler with preprocessor files
With -frewrite-includes Clang has issues with correctly tracking location
information (manifests itself as wrong line numbers in debug info, for
example). The result also appears to reference the .Si file instead of the
original source file for some reason.
While at it also omit trying to scan such files since that can be hazardous
(such files sometimes use `#`-style comments).
Diffstat (limited to 'libbuild2/in/rule.cxx')
0 files changed, 0 insertions, 0 deletions