[Asm] Add debug printing for assembler macros
authorOliver Stannard <oliver.stannard@arm.com>
Tue, 6 Mar 2018 14:07:01 +0000 (14:07 +0000)
committerOliver Stannard <oliver.stannard@arm.com>
Tue, 6 Mar 2018 14:07:01 +0000 (14:07 +0000)
commita930111c70604b2e5630e8c9377685ee54a5d554
tree64588b140fe7356929102a8210cc4fca25384a12
parent5c032cef2fd17d559b39edd3dae6e0c77a21ba62
[Asm] Add debug printing for assembler macros

This adds some debug printing (gated behind the "asm-macros" debug flag) which
can help tracing complicated assembly macros.

Differential revision: https://reviews.llvm.org/D43937

llvm-svn: 326795
llvm/include/llvm/MC/MCAsmMacro.h
llvm/include/llvm/MC/MCContext.h
llvm/lib/MC/CMakeLists.txt
llvm/lib/MC/MCAsmMacro.cpp [new file with mode: 0644]