[libc++] Move handling of the target triple to the DSLThis fixes a long standing issue where the triple is not always setconsistently in all configurations. This change also moves theback-deploym
[libc++] Move handling of the target triple to the DSLThis fixes a long standing issue where the triple is not always setconsistently in all configurations. This change also moves theback-deployment Lit features to using the proper target tripleinstead of using something ad-hoc.This will be necessary for using from scratch Lit configuration filesin both normal testing and back-deployment testing.Differential Revision: https://reviews.llvm.org/D102012
show more ...
[libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions'Instead of having different names for the same Lit feature accross codebases, use the same name everywhere. This NFC com
[libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions'Instead of having different names for the same Lit feature accross codebases, use the same name everywhere. This NFC commit is in preparationfor a refactor where all three projects will be using the same Litfeature detection logic, and hence it won't be convenient to usedifferent names for the feature.Differential Revision: https://reviews.llvm.org/D78370
[libc++/libc++abi] Properly delimit lit substitutionslit is not very clever when it performs substitution on RUN lines. Itsimply looks for a match anywhere in the line (without tokenization)and r
[libc++/libc++abi] Properly delimit lit substitutionslit is not very clever when it performs substitution on RUN lines. Itsimply looks for a match anywhere in the line (without tokenization)and replaces it by the expansion. This means that a RUN line containinge.g. `-verify-ignore-unexpected=note` wouod be expanded to`-verify-ignore-unexpected=<substitution for not>e`, which issurprising and nonsensical.It also means that something like `%compile_module` could be expandedto `<substitution-for-%compile>_module` or to the correct substitution,depending on the order in which substitutions are evaluated by lit.To avoid such problems, it is a good habit to delimit custom substitutionswith some token. This commit does that for all substitutions used in thelibc++ and libc++abi test suites.
Fix use of now removed %exec test substitutionllvm-svn: 302698
Attempt to fix arm-native libcxxabi tests for the no-exceptions variantThese tests embed calls to exceptions-related symbols from the abi library,which are absent in the no-exceptions variant. The
Attempt to fix arm-native libcxxabi tests for the no-exceptions variantThese tests embed calls to exceptions-related symbols from the abi library,which are absent in the no-exceptions variant. The tests need to be markedas unsupported for the no-exceptions configuration.llvm-svn: 296344
arm: Fix ttype encoding assertion failure.GCC 4.7 or newer emits 0x90 (indirect | pcrel) as the ttype encoding.This would hit an assertion in cxa_personality.cpp. This commit fixesthe problem by
arm: Fix ttype encoding assertion failure.GCC 4.7 or newer emits 0x90 (indirect | pcrel) as the ttype encoding.This would hit an assertion in cxa_personality.cpp. This commit fixesthe problem by relaxing the assertion.llvm-svn: 286760