aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorMichal Gorny <mgorny@gentoo.org>2018-11-20 18:41:11 +0000
committerMichal Gorny <mgorny@gentoo.org>2018-11-20 18:41:11 +0000
commit4b0b84f4bb9044b61ba61816104356234ad1eef7 (patch)
tree5a47654de60b49d20988b17b007ee10df9dea987 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parent1b25ba073fcb62fc48ce603b3fa939c51469e554 (diff)
downloadllvm-4b0b84f4bb9044b61ba61816104356234ad1eef7.zip
llvm-4b0b84f4bb9044b61ba61816104356234ad1eef7.tar.gz
llvm-4b0b84f4bb9044b61ba61816104356234ad1eef7.tar.bz2
[cmake] Fix detecting terminfo library
Copy the fix for determining the correct terminfo library from LLVM -- use distinct variables for check_library_exists() calls. Otherwise, the first check (for -ltinfo) populates the variable and no other checks are performed. Effectively, systems with other libraries than the first one listed are presumed not to have terminfo routines at all. Also sync the check order to include the NetBSD fix from r347156. This partially fixes undefined symbols when linking XRay tests. It's probably not the best solution to the problem there but as long as the terminfo check stays in config-ix, I thnk it's worth fixing. Differential Revision: https://reviews.llvm.org/D54641 llvm-svn: 347338
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions