This is an archive of the discontinued LLVM Phabricator instance.

[Reproducers] Integrate FileProvider with clang
ClosedPublic

Authored by JDevlieghere on Feb 11 2019, 2:24 PM.

Details

Summary

This patch hooks up clang to LLDB's FileProvider, so that files used by clang are part of the reproducer.

Diff Detail

Repository
rLLDB LLDB

Event Timeline

JDevlieghere created this revision.Feb 11 2019, 2:24 PM
labath resigned from this revision.Feb 11 2019, 11:43 PM

I don't know much about this part of the code, though the changes seem pretty straight-forward to me.

davide accepted this revision.Feb 12 2019, 4:43 PM

LGTM with one comment.

lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
252–262 ↗(On Diff #186336)

can you add a comment like: "when recording, set up the state to collect the modules, etc..".

This revision is now accepted and ready to land.Feb 12 2019, 4:43 PM
This revision was automatically updated to reflect the committed changes.