Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EH/SjLj] Add tests for mixing exceptions and sjlj #14732

Merged
merged 6 commits into from Jul 27, 2021

Commits on Jul 22, 2021

  1. [EH/SjLj] Add tests for mixing exceptions and sjlj

    This adds three tests for mixing exceptions and sjlj.
    We currently pass `test_exceptions_longjmp1`, and other two tests will
    pass after https://reviews.llvm.org/D106525 lands.
    
    - `test_exceptions_longjmp1`
      In a function with a `setjmp` call, `invoke` exists in LLVM IR. We have to check
      both for EH and sjlj when a function throws.
    - `test_exceptions_longjmp2`
      In a function without a `setjmp` call, `invoke` exists in LLVM IR. We
      only have to handle exceptions, but when longjmps occur, we shouldn't
      swallow them.
    - `test_exceptions_longjmp3`
      In a function with a `setjmp` call, there's no `invoke` in LLVM IR. We
      only have to handle longjmps, but w hen an exceptions occcur, we
      shouldn't swallow them.
    
    Each of these tests corresponds with tests in
    test/CodeGen/WebAssembly/lower-em-sjlj.ll in
    https://reviews.llvm.org/D106525.
    aheejin committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    777de14 View commit details
    Browse the repository at this point in the history
  2. flake8

    aheejin committed Jul 22, 2021
    Configuration menu
    Copy the full SHA
    8864496 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2021

  1. Configuration menu
    Copy the full SHA
    cf81e29 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2021

  1. Configuration menu
    Copy the full SHA
    d2e954e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    583590c View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2021

  1. Configuration menu
    Copy the full SHA
    0d38ec5 View commit details
    Browse the repository at this point in the history