Skip to content
Commit 6abd38bf authored by Petr Hosek's avatar Petr Hosek
Browse files

[MC] Return early when .fill size is negative

Rather than invoking emitFill with negative size, which may trigger
an undefined behavior, return immediately after emitting the warning.

Differential Revision: http://reviews.llvm.org/D20768

llvm-svn: 271107
parent 91b77cea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment