[all-commits] [llvm/llvm-project] 4aa1ca: [Driver] Disable -fsanitize=function for ppc64be a...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun May 21 09:14:53 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4aa1cadf3c67c61b394051630896f06f35b562ca
      https://github.com/llvm/llvm-project/commit/4aa1cadf3c67c61b394051630896f06f35b562ca
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-05-21 (Sun, 21 May 2023)

  Changed paths:
    M clang/lib/Driver/ToolChains/Linux.cpp
    M compiler-rt/test/ubsan/TestCases/TypeCheck/Function/function.cpp

  Log Message:
  -----------
  [Driver] Disable -fsanitize=function for ppc64be after D148573

ELFObjectWriter.cpp may report
```
error: Cannot represent a difference across sections
```
on some ppc64be configurations, likely related to some interaction
between the obsoleted ELFv1 and MC.
Unfortunately I cannot reproduce this locally with --target=powerpc64-linux-gnu.




More information about the All-commits mailing list