HomePhabricator

[X86] Fix register parsing in .seh_* in Intel syntax

Authored by rnk on Oct 18 2019, 2:01 PM.

Description

[X86] Fix register parsing in .seh_* in Intel syntax

Previously, the parser checked for a '%' prefix to indicate a register.
In Intel syntax mode, LLVM does not print a '%' prefix on registers, so
LLVM could not parse its own assembly output. Instead, require that
register numbers be integer literals, or at least start with an integer
literal, which is consistent with .cfi_* directive register parsing.

llvm-svn: 375287

Details

Committed
rnkOct 18 2019, 2:01 PM
Parents
rG3ff26e27d93e: [analyzer] exploded-graph-rewriter: Unforget to censor stmt_ids in the test.
Branches
Unknown
Tags
Unknown