add cfi directives for asm syntaxer

This commit is contained in:
Roy Qu 2023-03-01 18:03:14 +08:00
parent e7013cff1a
commit 68dea2c86a
1 changed files with 10 additions and 0 deletions

View File

@ -108,6 +108,16 @@ const QSet<QString> ASMSyntaxer::ATTDirectives {
".seh_setframe",".seh_stackalloc",".seh_pushreg", ".seh_setframe",".seh_stackalloc",".seh_pushreg",
".seh_savereg",".seh_savemm",".seh_savexmm", ".seh_savereg",".seh_savemm",".seh_savexmm",
".seh_pushframe",".seh_scope", ".seh_pushframe",".seh_scope",
#elif defined(Q_OS_LINUX)
".cfi_sections",".cfi_startproc",".cfi_endproc",
".cfi_personality",".cfi_personality_id",".cfi_fde_data",
".cfi_lsda",".cfi_inline_lsda",".cfi_def_cfa",
".cfi_def_cfa_register",".cfi_def_cfa_offset",".cfi_adjust_cfa_offset",
".cfi_offset",".cfi_val_offset",".cfi_rel_offset",
".cfi_register",".cfi_restore",".cfi_undefined",
".cfi_same_value",".cfi_remember_state",".cfi_restore_state",
".cfi_return_column",".cfi_signal_frame",".cfi_window_save",
".cfi_escape",".cfi_val_encoded_addr",
#endif #endif
".abort",".align",".altmacro",".ascii", ".abort",".align",".altmacro",".ascii",
".asciz",".attach",".balign",".bss", ".asciz",".attach",".balign",".bss",