For the reproducers in LLDB we want to switch to an "immediate mode" FileCollector that writes every file encountered straight to disk so we can generate the actual mapping out-of-process. This patch moves the interface into a separate base class.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
This mostly looks good, I'm just wondering about tests. I hunted around for a FileCollector unit test and didn't see one, but it seems like it might be a good fit, especially if it gets you coverage things otherwise only used in LLDB. WDYT?
llvm/include/llvm/Support/FileCollector.h | ||
---|---|---|
106–110 | Seems like these should now have override on them. |
Comment Actions
I think you might have missed FileCollectorTest.cpp. I guess I could add some test for just the base class, but I'm not sure if that would add much value.
Comment Actions
Weird, git grep seems to be returning different results now :). Agreed, it seems like enough.
This LGTM now with the fix for override.
Seems like these should now have override on them.