Referencing master LLVM at e64f99c51a8
produces these errors:
/home/preda/ROCm-CompilerSupport/lib/comgr/src/comgr-symbol.cpp: In member function 'COMGR::SymbolContext* COMGR::SymbolHelper::createBinary(llvm::StringRef, const char*, amd_comgr_data_kind_t)':
/home/preda/ROCm-CompilerSupport/lib/comgr/src/comgr-symbol.cpp:171:35: error: 'class llvm::Expected<long unsigned int>' has no member named 'getValue'
171 | Symp->Value = Fsym.getValue().getValue();
| ^~~~~~~~
/home/preda/ROCm-CompilerSupport/lib/comgr/src/comgr-symbol.cpp: In member function 'amd_comgr_status_t COMGR::SymbolHelper::iterateTable(llvm::StringRef, amd_comgr_data_kind_t, amd_comgr_status_t (*)(amd_comgr_symbol_t, void*), void*)':
/home/preda/ROCm-CompilerSupport/lib/comgr/src/comgr-symbol.cpp:238:39: error: 'class llvm::Expected<long unsigned int>' has no member named 'getValue'
238 | Ctxp->Value = Symbol.getValue().getValue();
Configuring comgr as such:
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="$LLVM/build;$DEVICE_LIBS/buildx" ..
Referencing master LLVM at e64f99c51a8 produces these errors: