[all-commits] [llvm/llvm-project] 1216f4: [GWP-ASan] Use functions in backtrace test, not li...

Mitch Phillips via All-commits all-commits at lists.llvm.org
Thu Mar 26 10:10:33 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1216f4c0ea0c232d545ce3ab8f858c696e085d47
      https://github.com/llvm/llvm-project/commit/1216f4c0ea0c232d545ce3ab8f858c696e085d47
  Author: Mitch Phillips <31459023+hctim at users.noreply.github.com>
  Date:   2020-03-26 (Thu, 26 Mar 2020)

  Changed paths:
    M compiler-rt/lib/gwp_asan/tests/backtrace.cpp

  Log Message:
  -----------
  [GWP-ASan] Use functions in backtrace test, not line numbers.

Summary:
There's no unwinding functionality on Android that allows for line
numbers to be retrieved in-process. As a result, we can't have
this backtrace test run on Android.

Cleanup the test to use optnone functions instead, which is more stable
than line numbers anyway.

Reviewers: eugenis

Reviewed By: eugenis

Subscribers: #sanitizers, morehouse, cferris

Tags: #sanitizers

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




More information about the All-commits mailing list