summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MIRParser/MILexer.h
diff options
context:
space:
mode:
authorFrancis Visoiu Mistrih <francisvm@yahoo.com>2017-12-15 15:17:18 +0000
committerFrancis Visoiu Mistrih <francisvm@yahoo.com>2017-12-15 15:17:18 +0000
commit5de20e039ed65ae729cf0502b71cfafbd0f9617e (patch)
tree60cce37f38211b0685068cc4fe743667ffd4a11c /llvm/lib/CodeGen/MIRParser/MILexer.h
parent9b332d997f9f003b4a8539c2f846a2fc4885f128 (diff)
downloadbcm5719-llvm-5de20e039ed65ae729cf0502b71cfafbd0f9617e.tar.gz
bcm5719-llvm-5de20e039ed65ae729cf0502b71cfafbd0f9617e.zip
[MIR] Add support for missing CFI directives
The following CFI directives are suported by MC but not by MIR: * .cfi_rel_offset * .cfi_adjust_cfa_offset * .cfi_escape * .cfi_remember_state * .cfi_restore_state * .cfi_undefined * .cfi_register * .cfi_window_save Add support for printing, parsing and update tests. Differential Revision: https://reviews.llvm.org/D41230 llvm-svn: 320819
Diffstat (limited to 'llvm/lib/CodeGen/MIRParser/MILexer.h')
-rw-r--r--llvm/lib/CodeGen/MIRParser/MILexer.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MIRParser/MILexer.h b/llvm/lib/CodeGen/MIRParser/MILexer.h
index f7027bea181..0204d549d5d 100644
--- a/llvm/lib/CodeGen/MIRParser/MILexer.h
+++ b/llvm/lib/CodeGen/MIRParser/MILexer.h
@@ -66,10 +66,18 @@ struct MIToken {
kw_debug_location,
kw_cfi_same_value,
kw_cfi_offset,
+ kw_cfi_rel_offset,
kw_cfi_def_cfa_register,
kw_cfi_def_cfa_offset,
+ kw_cfi_adjust_cfa_offset,
+ kw_cfi_escape,
kw_cfi_def_cfa,
+ kw_cfi_register,
+ kw_cfi_remember_state,
kw_cfi_restore,
+ kw_cfi_restore_state,
+ kw_cfi_undefined,
+ kw_cfi_window_save,
kw_blockaddress,
kw_intrinsic,
kw_target_index,
OpenPOWER on IntegriCloud