https://github.com/RadeonOpenCompute/ROCm-CompilerSupport/pull/19

--- comgr/CMakeLists.old	2019-07-19 17:19:26.080276421 +0200
+++ comgr/CMakeLists.txt	2019-07-19 18:17:25.780163592 +0200
@@ -185,7 +185,11 @@
 include_directories(./yaml-cpp/include)
 
 set(CLANG_LIBS
-  clangFrontendTool)
+  clangFrontendTool
+  clangFrontend
+  clangBasic
+  clangDriver
+  clangSerialization)
 
 set(LLD_LIBS
   lldELF
@@ -193,8 +197,19 @@
 
 llvm_map_components_to_libnames(LLVM_LIBS
   ${LLVM_TARGETS_TO_BUILD}
+  Option
   DebugInfoDWARF
-  Symbolize)
+  Symbolize
+  Support
+  Object
+  BitWriter
+  MC
+  MCParser
+  MCDisassembler
+  Core
+  IRReader
+  CodeGen
+  Linker)
 
 target_link_libraries(amd_comgr
   PUBLIC
