You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
clang++ -save-temps doesn't seem to include any extra header files passed in as -include <header> which hurts debugging and reproducing issues in a standalone way. We use that to support multiple input header files. We should figure out how to work around this issue so we can accept multiple input headers and also get nice standalone debugging.
Perhaps create a synthetic in-memory file that has a #include <header> for every input header, and then we actually process that?
Not sure how to get libclang to dump a preprocessed file either.
The text was updated successfully, but these errors were encountered:
This is useful when debugging bindgen, using C-Reduce on an input to bindgen, or
for constructing portable test cases when filing issues against bindgen.
Fixesrust-lang#811
clang++ -save-temps
doesn't seem to include any extra header files passed in as-include <header>
which hurts debugging and reproducing issues in a standalone way. We use that to support multiple input header files. We should figure out how to work around this issue so we can accept multiple input headers and also get nice standalone debugging.Perhaps create a synthetic in-memory file that has a
#include <header>
for every input header, and then we actually process that?Not sure how to get libclang to dump a preprocessed file either.
The text was updated successfully, but these errors were encountered: