[PATCH] D98278: [test] Add ability to get error messages from CMake for errc substitution

Markus Böck via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 15 07:56:13 PDT 2021


zero9178 updated this revision to Diff 330653.
zero9178 added a comment.

Rebased and reformatted python code to 80 column limit.

Moved the call to get_errc_messages into the various subprojects using it (llvm, clang and lld). LLVM calls it unconditionally, clang and lld do in standalone builts. 
HandleLLVMOptions was considered as it's included by all these functions, but I felt like it's not really an option of LLVM. 
Feedback very much welcome however.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D98278/new/

https://reviews.llvm.org/D98278

Files:
  clang/CMakeLists.txt
  clang/test/lit.site.cfg.py.in
  lld/CMakeLists.txt
  lld/test/lit.site.cfg.py.in
  llvm/CMakeLists.txt
  llvm/cmake/modules/GetErrcMessages.cmake
  llvm/test/lit.site.cfg.py.in
  llvm/utils/lit/lit/llvm/config.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98278.330653.patch
Type: text/x-patch
Size: 7168 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210315/722d4bd8/attachment.bin>


More information about the llvm-commits mailing list