[Bug 29071] New: lldb standalone build: include could not find load file: CheckAtomic

Bug ID 29071
Summary lldb standalone build: include could not find load file: CheckAtomic
Product lldb
Version unspecified
Hardware PC
OS Linux
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter mgorny@gentoo.org
CC llvm-bugs@lists.llvm.org
Classification Unclassified

When attempting to build lldb stand-alone against installed LLVM, I'm getting
the following error:

CMake Error at cmake/modules/LLDBStandalone.cmake:89 (include):
  include could not find load file:

    CheckAtomic
Call Stack (most recent call first):
  CMakeLists.txt:3 (include)

It looks that it is relying on CheckAtomic.cmake that is not installed by LLVM.
I guess the file should either be installed (possibly as LLVMCheckAtomic?), or
a copy of it included in LLDB.