message: Link against swiftReflection
  we need to special case this when building for non-linux hosts
  Committer: Jacob Mizraji
diff: include_directories(../Plugins/Process/Utility)
  +set(REFLECTION_LIB "swiftReflection")
  +
  +if(LLVM_HOST_TRIPLE MATCHES "^((\\?!linux).)*$")
  # libswiftReflection is placed in a subdirectory which depends
  # on the host we're currently running on.
  # FIXME: There must be a better way to get at libswiftReflection.a
  @@ -7,6 +10,10 @@ string(REPLACE "-" ";" TRIPLE_LIST "${LLVM_HOST_TRIPLE}")
  list(GET TRIPLE_LIST 0 ARCH)
  list(GET TRIPLE_LIST 2 HOST_OS_VERSION)
  string(REGEX MATCHALL "[a-z]+" HOST_OS "${HOST_OS_VERSION}")
  + set(REFLECTION_LIB "${REFLECTION_LIB}-${HOST_OS}-${ARCH}")
  + message("Building for non-linux host, setting reflection lib to ${REFLECTION_LIB}")
  +endif()
  +
  add_lldb_library(lldbTarget
  ABI.cpp
  @@ -75,7 +82,7 @@ add_lldb_library(lldbTarget
  swiftBasic
  swiftFrontend
  swiftRemoteAST
  - swiftReflection-${HOST_OS}-${ARCH}
  + ${REFLECTION_LIB}
  lldbBreakpoint
  lldbCore
  lldbExpression
  