Skip to content

Add unit test to check if std::set/get_terminate works with our symbols #110

@kammce

Description

@kammce

We use --wrap for LLVM and we override the weak symbol in GCC for the terminate handler. This allows us to set the default handler, eliminating the printing variant within LLVM and GCC. std::set_terminate should see the new symbol and update it as usual. Same for the getter function. We need to expose that symbol in the test, invoke set_terminate, and check if the value is updated to what we passed in. Testing the getter is as you'd expect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions