aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorStella Stamenova <stilis@microsoft.com>2022-01-19 12:02:22 -0800
committerStella Stamenova <stilis@microsoft.com>2022-01-19 12:02:22 -0800
commit438f805145212a67d15b5950c4628298d65f7903 (patch)
tree5c707c76c02a6008d716890d35c693e6ac735759 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parent073e09683d0d15d25bf37d2a1a60cc1379ba3526 (diff)
downloadllvm-438f805145212a67d15b5950c4628298d65f7903.zip
llvm-438f805145212a67d15b5950c4628298d65f7903.tar.gz
llvm-438f805145212a67d15b5950c4628298d65f7903.tar.bz2
[mlir] Configure mlir so that it can be directly included in a parent cmakelists.txt
The goal is to allow a project to directly include the `CMakeLists.txt` of mlir via something such as `add_directory`. This currently doesn't work because the exported targets then end up being imported in the same top-level project and `cmake` is not happy. LLVM works around this by guarding the exports based on the existence of the `LLVMSupport` library. This change does the same using `MLIRSupport`. In our experience, no targets need to be added to the export in the case. If there's a preferred way of doing this or a better lib to use as the main target to check for, please let me know. Reviewed By: stellaraccident Differential Revision: https://reviews.llvm.org/D117599
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions