[all-commits] [llvm/llvm-project] 4fb8ec: [libunwind] Adjust the signal_frame test for Arm

Mikhail Maltsev via All-commits all-commits at lists.llvm.org
Tue Nov 19 01:58:54 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4fb8ecdef4c9b19563e428a151c376a4103d65fc
      https://github.com/llvm/llvm-project/commit/4fb8ecdef4c9b19563e428a151c376a4103d65fc
  Author: Mikhail Maltsev <mikhail.maltsev at arm.com>
  Date:   2019-11-19 (Tue, 19 Nov 2019)

  Changed paths:
    M libunwind/test/signal_frame.pass.cpp

  Log Message:
  -----------
  [libunwind] Adjust the signal_frame test for Arm

Summary:
This patch adjusts the signal_frame.pass.cpp to pass on Arm targets:
* When Arm EHABI is used the unwinder does not use DWARF, hence the
  DWARF-specific check unw_is_signal_frame() must be disabled.
* Certain C libraries don't include EH tables, so the unwinder must
  not try to step out of main(). The patch moves the test code out of
  main() into a separate function to avoid this.

Reviewers: saugustine, ostannard, phosek, jfb, mclow.lists

Reviewed By: saugustine

Subscribers: dexonsmith, aprantl, kristof.beyls, christof, libcxx-commits, pbarrio, labrinea

Tags: #libc

Differential Revision: https://reviews.llvm.org/D70397




More information about the All-commits mailing list