SNSystems / llvm-project-prepo

Fork of LLVM with modifications to support a program repository
26 stars 0 forks source link

Remove unwind library dependency #153

Closed MaggieYingYi closed 3 years ago

MaggieYingYi commented 3 years ago

This PR includes two changes:

  1. If the cmake option -DLLVM_ENABLE_UNWIND_TABLES=OFF is given in the command line, both clang and pstore project build fine without linking the libunwind.a library. Since repo doesn't support the exception handling (unwind) yet, build LLVM runtime libraries without linking the libunwind.a library.
  2. To build clang successfully, a system include path is added in the repo.cmake file.