[all-commits] [llvm/llvm-project] 653836: [clang][AVR] Set '-fno-use-cxa-atexit' to default

Ben Shi via All-commits all-commits at lists.llvm.org
Sat Jan 29 18:27:33 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 653836251ac41775e3d376e9ee28efd2ea0232b2
      https://github.com/llvm/llvm-project/commit/653836251ac41775e3d376e9ee28efd2ea0232b2
  Author: Ben Shi <ben.shi at streamcomputing.com>
  Date:   2022-01-30 (Sun, 30 Jan 2022)

  Changed paths:
    M clang/lib/CodeGen/TargetInfo.cpp
    M clang/lib/Driver/ToolChains/AVR.cpp
    M clang/test/Driver/avr-toolchain.c

  Log Message:
  -----------
  [clang][AVR] Set '-fno-use-cxa-atexit' to default

AVR is baremetal environment, so the avr-libc does not support
'__cxa_atexit()'.

Reviewed By: MaskRay

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




More information about the All-commits mailing list