[lldb-instr] Pass PCHContainerOperations to ClangTool
authorJonas Devlieghere <jonas@devlieghere.com>
Tue, 12 Feb 2019 18:19:34 +0000 (18:19 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Tue, 12 Feb 2019 18:19:34 +0000 (18:19 +0000)
commit1ca9dd8507c7541b86e313b4ff99cdb98ee4dfd2
tree68313cf445f0500701e506114e562daf74a97027
parentf6e5594e811c70986ad8af3aa3f9540fcb7a1149
[lldb-instr] Pass PCHContainerOperations to ClangTool

On a local modules build this would cause an error.

> fatal error: no handler registered for module format 'obj'
> LLVM ERROR: unknown module format

Interestingly enough, this didn't trigger on the GreenDragon CMake bot,
which is configured with modules.

llvm-svn: 353869
lldb/tools/lldb-instr/CMakeLists.txt
lldb/tools/lldb-instr/Instrument.cpp