[ms] [llvm-ml] Add support for nested PROC/ENDP pairs
authorEric Astor <epastor@google.com>
Thu, 11 Aug 2022 14:18:32 +0000 (14:18 +0000)
committerEric Astor <epastor@google.com>
Thu, 11 Aug 2022 14:19:02 +0000 (14:19 +0000)
commit94fae7a581d6772e9f4ec0270485a4308eb8d2dc
tree743c80817464ee1cc0316cac55b833651d4ed9c5
parent4e68834addd2d93c5ed8be74891c30870abc8b04
[ms] [llvm-ml] Add support for nested PROC/ENDP pairs

This is believed to match behavior by ML.EXE and ML64.EXE.

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D131522
llvm/lib/MC/MCParser/COFFMasmParser.cpp
llvm/test/tools/llvm-ml/nested_proc.asm [new file with mode: 0644]
llvm/test/tools/llvm-ml/nested_proc_errors.asm [new file with mode: 0644]