[llvm-dev] Error Type set is empty for each HW mode

Arsen Hakobyan via llvm-dev llvm-dev at lists.llvm.org
Tue Nov 26 23:23:20 PST 2019


Hi all,

I am trying to understand what is causing the following error to be
generated when building LLVM/Clang on macOS:
------------
Type set is empty for each HW mode:
possible type contradiction in the pattern below (use -print-records with
llvm-tblgen to see all expanded records).
------------

This is generated for the custom Target which uses default hardware mode.
I am using -G Xcode configuration option.
Comparing with Linux build, different
TypeInfer::ValidateOnExit::~ValidateOnExit() are called because of the
NDEBUG flag. I would like to understand why/from where NO DEBUG flag is set
on macOS while building tablegen and why it is not set for linux build.

What kind of issues this checking prevents on macOS which is not essential
for Linux ?

Any thought and suggestions are highly appreciated.

Best Regards,
Arsen

-- 

If it's not fun you're not doing it right -- Fran Tarkenton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20191127/baba44f6/attachment.html>


More information about the llvm-dev mailing list