[all-commits] [llvm/llvm-project] 7502af: clang: Forward exception_model flag for bitcode in...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Jul 1 17:40:07 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7502af89fc0e025cb4d98f1a178a330fbf5e9d37
      https://github.com/llvm/llvm-project/commit/7502af89fc0e025cb4d98f1a178a330fbf5e9d37
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-07-02 (Wed, 02 Jul 2025)

  Changed paths:
    M clang/lib/Frontend/CompilerInvocation.cpp
    A clang/test/CodeGen/WebAssembly/wasm-exception-model-flag-parse-ir-input.ll
    A clang/test/CodeGen/WebAssembly/wasm-invalid-exception-kinds.ll
    A clang/test/Driver/ir-exception-model.c

  Log Message:
  -----------
  clang: Forward exception_model flag for bitcode inputs (#146342)

This will enable removal of a hack from the wasm backend
in a future change.

This feels unnecessarily clunky. I would assume something was
automatically parsing this and propagating it in the C++ case,
but I can't seem to find it. In particular it feels wrong that
I need to parse out the individual values, given they are listed
in the options.td file. We should also be parsing and forwarding
every flag that corresponds to something else in TargetOptions,
which requires auditing.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list