[clang] Add missing Interpreter -> ClangDriverOptions dependency
commitb5eaf500f2441eff2277ea2973878fb1f171fd0a
authorVassil Vassilev <v.g.vassilev@gmail.com>
Sun, 26 Jun 2022 13:47:50 +0000 (26 13:47 +0000)
committerVassil Vassilev <v.g.vassilev@gmail.com>
Sun, 26 Jun 2022 13:51:21 +0000 (26 13:51 +0000)
treec228296a76c13545cf161bc9df533e630bb2c8db
parente881d85371bf9b024e0668f1667fefde4df05711
[clang] Add missing Interpreter -> ClangDriverOptions dependency

Without this, it is possible that Interpreter.cpp is being built before
clang/Driver/Options.inc is generated.

Observed only infrequently, serial builds and ext4 manifest the problem
much more often than parallel builds and btrfs.

https://reviews.llvm.org/rG06487b010d48c36c7714ee083ed38dff65711812
is a very similar case.

Patch by t184256!

Differential revision: https://reviews.llvm.org/D115827
clang/lib/Interpreter/CMakeLists.txt