HomePhabricator

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

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.

Details

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