[all-commits] [llvm/llvm-project] 1cb9f3: [FreeBSD] Do not mark __stack_chk_guard as dso_local

adalava via All-commits all-commits at lists.llvm.org
Fri Nov 5 05:30:05 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1cb9f37a17ab528e53d38c790c1bc44a087d2a50
      https://github.com/llvm/llvm-project/commit/1cb9f37a17ab528e53d38c790c1bc44a087d2a50
  Author: Alfredo Dal'Ava Junior <alfredo.junior at eldorado.org.br>
  Date:   2021-11-05 (Fri, 05 Nov 2021)

  Changed paths:
    M llvm/lib/CodeGen/TargetLoweringBase.cpp
    M llvm/test/CodeGen/PowerPC/stack-protector.ll

  Log Message:
  -----------
  [FreeBSD] Do not mark __stack_chk_guard as dso_local

This symbol is defined in libc.so so it is definitely not DSO-Local.
Marking it as such causes problems on some platforms (such as PowerPC).

Differential revision: https://reviews.llvm.org/D109090




More information about the All-commits mailing list