[ms] [llvm-ml] Add support for "alias" directive
authorEric Astor <epastor@google.com>
Tue, 29 Sep 2020 20:59:42 +0000 (16:59 -0400)
committerEric Astor <epastor@google.com>
Tue, 29 Sep 2020 20:59:50 +0000 (16:59 -0400)
commit0548d1ca24b72d28e50fbd8a456b1fd36beacb07
tree863c7e218a1bb86a4a877320185f003b4c8e36f1
parentfdd23a35422ca133410c6b066ea191f426267c46
[ms] [llvm-ml] Add support for "alias" directive

Support the "alias" directive.

Required support for emitWeakReference in MCWinCOFFStreamer.

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D87403
llvm/include/llvm/MC/MCWinCOFFStreamer.h
llvm/lib/MC/MCParser/COFFMasmParser.cpp
llvm/lib/MC/MCWinCOFFStreamer.cpp
llvm/test/tools/llvm-ml/alias.test [new file with mode: 0644]
llvm/test/tools/llvm-ml/alias_errors.test [new file with mode: 0644]
llvm/test/tools/llvm-ml/proc.test
llvm/test/tools/llvm-ml/proc_frame.test