Allow to specify -fdebug-compilation-dir for clang-cl
Now if we specify -fdebug-compilation-dir, clang-cl emits obj files independent from build directory. So this flag will allow to sharing build cache when engineers use goma on different build directory. To debug executable with this flag, we need to specify 'debug source files' property in visual studio. Some goma backend preparation for build cache sharing is on-going yet, but I will ask windows developer to try the flag to confirm it does not break their workflow. This is windows version of below proposal. https://docs.google.com/document/d/1OX4jY_bOCeNK7PNjVRuBQE9s6BQKS8XRNWGK8FEyh-E/edit?usp=sharing Bug: 712796 Change-Id: I65e6da67614839e5dde408038cad33a63dc28ac1 Reviewed-on: https://chromium-review.googlesource.com/1118200 Commit-Queue: Takuto Ikuta <tikuta@chromium.org> Reviewed-by:Bruce Dawson <brucedawson@chromium.org> Cr-Commit-Position: refs/heads/master@{#571431}
Showing
Please register or sign in to comment