aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ObjectFile.cpp
diff options
context:
space:
mode:
authorStephen Neuendorffer <stephen.neuendorffer@xilinx.com>2020-04-24 16:42:07 -0700
committerStephen Neuendorffer <stephen.neuendorffer@xilinx.com>2020-05-01 20:08:52 -0700
commit7add6b6b73fdb3e1303ee911f7e2acfb6bb467c8 (patch)
tree86c856bf74f81372f230081103a08c27b91f82ff /llvm/lib/Object/ObjectFile.cpp
parent57818885be5160380e29e9c2e915b37d5b11ade9 (diff)
downloadllvm-7add6b6b73fdb3e1303ee911f7e2acfb6bb467c8.zip
llvm-7add6b6b73fdb3e1303ee911f7e2acfb6bb467c8.tar.gz
llvm-7add6b6b73fdb3e1303ee911f7e2acfb6bb467c8.tar.bz2
[MLIR] add dependencies for all tablegen targets on 'mlir-headers'
In cmake, dependencies on generated files require some sophistication in the build system. At build time, files are parsed to determine which headers they depend on and these dependencies are injected into the build system. This works well with ninja, but has some constraints with the makefile generator. According to the cmake documentation, this only works reliably within the same directory. This patch expands the usage of mlir-headers to include all generated headers and adds an mlir-generic-headers target which triggers generation of dialect-independent headers. These targets are used to express dependencies on generated headers. This is mostly handled in AddMLIR.cmake and only a few CMakeLists.txt files need to change. Differential Revision: https://reviews.llvm.org/D79242
Diffstat (limited to 'llvm/lib/Object/ObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions