Skip to content

Remove IREE_CHECK* macros or move to iree/testing/ #5238

Closed

Description

@benvanik

IREE is a middleware library and should never be unconditionally crashing hosting applications. These macros are holdovers from the google3-style status days and were intended only for tooling/tests - if we still want them at all they should be moved to test-only code to ensure they don't crop up where they shouldn't.

Activity

  1. added
    runtime
    ew 🤮
    on Mar 27, 2021
  2. benvanik commented on May 4, 2021

    @benvanik
    CollaboratorAuthor

    IREE_CHECK_OK will remain in the public API but all the other variants with C++ logging should move into iree/testing/ (or die - gtest ASSERT/EXPECT are better than SIGABRT'ing in tests).

  3. benvanik commented on Jun 30, 2022

    @benvanik
    CollaboratorAuthor

    logging.h dead!

  4. moved this to Done in IREEon Jun 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ew 🤮runtime

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions