[PATCH] D27138: Extend CompilationDatabase by a field for the output filename
Joerg Sonnenberger via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 25 13:29:39 PST 2016
joerg created this revision.
joerg added a reviewer: klimek.
joerg added a subscriber: cfe-commits.
joerg set the repository for this revision to rL LLVM.
In bigger projects like an Operating System, the same source code is often compiled in slightly different ways. This could be the difference between PIC and non-PIC code for static vs dynamic libraries, it could also be the difference between size optimised versions of tools for ramdisk images. At the moment, the compilation database has no way to distinguish such cases. As first step, add a field in the JSON format for it and process it accordingly.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7520 bytes
Desc: not available
More information about the cfe-commits