Skip to content

Commit a416817

Browse files
authored
[LLVM] Add new attribute optdebug to optimize for debugging (#66632)
This patch adds a new fn attribute, `optdebug`, that specifies that optimizations should make decisions that prioritize debug info quality, potentially at the cost of runtime performance. This patch does not add any functional changes triggered by this attribute, only the attribute itself. A subsequent patch will use this flag to disable the post-RA scheduler.
1 parent 15bc4e1 commit a416817

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

syntax/llvm.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ syn keyword llvmKeyword
142142
\ nosanitize_bounds
143143
\ nosanitize_coverage
144144
\ null_pointer_is_valid
145+
\ optdebug
145146
\ optforfuzzing
146147
\ optnone
147148
\ optsize

0 commit comments

Comments
 (0)