[NFC] Add CFGuard to opt build
authorChris Bieneman <beanz@abolishcrlf.org>
Mon, 31 Jan 2022 22:11:11 +0000 (16:11 -0600)
committerChris Bieneman <beanz@abolishcrlf.org>
Tue, 1 Feb 2022 18:32:27 +0000 (12:32 -0600)
commit361518202532d1b43dacf41c8a0385cc32875bb4
treedb64dcf24d5d817b6df0de07ed7f422d2e3d18a9
parent1494d064fa8b4fbffc24cc2672b3b0cd1bbb098c
[NFC] Add CFGuard to opt build

If you don't include a target that directly references CFGuard it
doesn't get built into opt or the llvm library build, which causes some
test cases to fail.

Including this in opt explicitly resolve those issues.
llvm/tools/opt/CMakeLists.txt