[all-commits] [llvm/llvm-project] fae16f: Disable rosegment for old Android versions.

Dan Albert via All-commits all-commits at lists.llvm.org
Tue Jan 26 16:16:12 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fae16fc0eed7cf60207901818cfe040116f2ef00
      https://github.com/llvm/llvm-project/commit/fae16fc0eed7cf60207901818cfe040116f2ef00
  Author: Dan Albert <danalbert at google.com>
  Date:   2021-01-26 (Tue, 26 Jan 2021)

  Changed paths:
    M clang/lib/Driver/ToolChains/Linux.cpp
    M clang/test/Driver/linux-ld.c

  Log Message:
  -----------
  Disable rosegment for old Android versions.

The unwinder used by the crash handler on versions of Android prior to
API 29 did not correctly handle binaries built with rosegment, which is
enabled by default for LLD. Android only supports LLD, so it's not an
issue that this flag is not accepted by other linkers.

Reviewed By: srhines

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




More information about the All-commits mailing list