[clang] [SFrame][Retry] Add assembler option --gsframe (PR #165806)

Tarun Prabhu via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 3 07:43:23 PST 2025


================
@@ -2626,6 +2626,14 @@ static void CollectArgsForIntegratedAssembler(Compilation &C,
                                   llvm::codegenoptions::DebugInfoConstructor,
                                   DwarfVersion, llvm::DebuggerKind::Default);
         }
+      } else if (Value == "--gsframe") {
+        if (Triple.isOSBinFormatELF() && Triple.isX86()) {
----------------
tarunprabhu wrote:

The comment on line 5970 says that unwind tables are only defined for `x86` and `aarch64`, but this seems to only add `--gsframe` for `x86`. Is this intentional?

https://github.com/llvm/llvm-project/pull/165806


More information about the cfe-commits mailing list