[all-commits] [llvm/llvm-project] 6b8900: [clang][CodeGen] Add default attributes to __clang...

john-brawn-arm via All-commits all-commits at lists.llvm.org
Tue Nov 29 05:10:16 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b8900f7f91de489302886c7e48033407d13f8c1
      https://github.com/llvm/llvm-project/commit/6b8900f7f91de489302886c7e48033407d13f8c1
  Author: John Brawn <john.brawn at arm.com>
  Date:   2022-11-29 (Tue, 29 Nov 2022)

  Changed paths:
    M clang/lib/CodeGen/ItaniumCXXABI.cpp
    A clang/test/CodeGenCXX/arm-generated-fn-attr.cpp
    M clang/test/CodeGenCXX/dllimport-runtime-fns.cpp
    M clang/test/CodeGenCXX/exceptions.cpp
    M clang/test/CodeGenCXX/runtime-dllstorage.cpp
    M clang/test/OpenMP/distribute_parallel_for_num_threads_codegen.cpp
    M clang/test/OpenMP/parallel_codegen.cpp
    M clang/test/OpenMP/parallel_for_codegen.cpp
    M clang/test/OpenMP/parallel_master_codegen.cpp
    M clang/test/OpenMP/parallel_sections_codegen.cpp
    M clang/test/OpenMP/single_codegen.cpp
    M clang/test/OpenMP/taskgroup_codegen.cpp
    M clang/test/OpenMP/teams_distribute_parallel_for_num_threads_codegen.cpp
    M clang/test/OpenMP/teams_distribute_parallel_for_simd_num_threads_codegen.cpp

  Log Message:
  -----------
  [clang][CodeGen] Add default attributes to __clang_call_terminate

When generating __clang_call_terminate use SetLLVMFunctionAttributes
to set the default function attributes, like we do for all the other
functions generated by clang. This fixes a problem where target
features from the command line weren't being applied to this function.

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




More information about the All-commits mailing list