[all-commits] [llvm/llvm-project] 7647a8: Fix -fno-unwind-tables -fasynchronous-unwind-table...

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu Sep 23 16:15:53 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7647a8413be55568a8a80fae379a872b7359f5b5
      https://github.com/llvm/llvm-project/commit/7647a8413be55568a8a80fae379a872b7359f5b5
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-09-23 (Thu, 23 Sep 2021)

  Changed paths:
    M clang/include/clang/Basic/CodeGenOptions.def
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/test/CodeGen/asan-globals.cpp
    M clang/test/CodeGenCXX/exceptions-seh-filter-uwtable.cpp
    M clang/test/CodeGenCXX/linetable-eh.cpp
    M clang/test/CodeGenCXX/thunks-ehspec.cpp
    M clang/test/CodeGenCXX/thunks.cpp
    M clang/test/Driver/aarch64-features.c
    M clang/test/Driver/clang-translation.c
    M clang/test/Driver/freebsd.c
    M clang/test/Driver/fuchsia.c
    M clang/test/Driver/ppc-features.cpp
    M clang/test/Driver/sanitize_unwind_tables.c
    M clang/test/Driver/win-macho-unwind.c
    M clang/test/Driver/windows-exceptions.cpp
    M clang/test/Preprocessor/unwind-tables.c

  Log Message:
  -----------
  Fix -fno-unwind-tables -fasynchronous-unwind-tables to emit unwind tables

This matches GCC.

Change the CC1 option to encode the unwind table level (1: needed by exceptions,
2: asynchronous) so that we can support two modes in the future.




More information about the All-commits mailing list