external/llvm/releases/12.0.0/patches_external/fix_for_opt_buildbreak.patch
raw| 1 | /*========================== begin_copyright_notice ============================ |
| 2 | |
| 3 | Copyright (C) 2021 Intel Corporation |
| 4 | |
| 5 | SPDX-License-Identifier: MIT |
| 6 | |
| 7 | ============================= end_copyright_notice ===========================*/ |
| 8 | |
| 9 | # Description : Fix build break for building opt |
| 10 | |
| 11 | --- a/llvm/tools/opt/CMakeLists.txt |
| 12 | +++ b/llvm/tools/opt/CMakeLists.txt |
| 13 | @@ -9,6 +9,7 @@ set(LLVM_LINK_COMPONENTS |
| 14 | CodeGen |
| 15 | Core |
| 16 | Coroutines |
| 17 | + Demangle |
| 18 | Extensions |
| 19 | IPO |
| 20 | IRReader |