[SystemZ] Recognize mrecord-mcount in backend
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>
Tue, 17 Dec 2019 21:13:16 +0000 (13:13 -0800)
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>
Thu, 19 Dec 2019 17:06:18 +0000 (09:06 -0800)
commit6be15788951b44b2516f503bb7feb555364c6e5a
tree478dae920b46fec4f4ebcb3455a7646130b96763
parent63e2aa5658bd8a4905ae5a85f9046250a5e16a86
[SystemZ]  Recognize mrecord-mcount in backend

Emit the __mcount_loc section for all fentry calls.

Review: Ulrich Weigand
https://reviews.llvm.org/D71629
llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
llvm/test/CodeGen/SystemZ/mrecord-mcount-01.ll [new file with mode: 0644]
llvm/test/CodeGen/SystemZ/mrecord-mcount-02.ll [new file with mode: 0644]