diff options
author | Che-Liang Chiou <clchiou@gmail.com> | 2010-11-08 02:21:17 +0000 |
---|---|---|
committer | Che-Liang Chiou <clchiou@gmail.com> | 2010-11-08 02:21:17 +0000 |
commit | 6da24ca51d0a0483b4ff1537a177bd172997f129 (patch) | |
tree | f15c39cfc64529d539480a4474902e6de8354fa9 /tools | |
parent | 5991487c10faa5f1c0cc815381d745150582a309 (diff) | |
download | external_llvm-6da24ca51d0a0483b4ff1537a177bd172997f129.zip external_llvm-6da24ca51d0a0483b4ff1537a177bd172997f129.tar.gz external_llvm-6da24ca51d0a0483b4ff1537a177bd172997f129.tar.bz2 |
Add registry hook for assembly text output
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118394 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/llvm-mc/llvm-mc.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/llvm-mc/llvm-mc.cpp b/tools/llvm-mc/llvm-mc.cpp index 9710805..67bb06b 100644 --- a/tools/llvm-mc/llvm-mc.cpp +++ b/tools/llvm-mc/llvm-mc.cpp @@ -342,9 +342,9 @@ static int AssembleInput(const char *ProgName) { MCCodeEmitter *CE = 0; if (ShowEncoding) CE = TheTarget->createCodeEmitter(*TM, Ctx); - Str.reset(createAsmStreamer(Ctx, FOS, - TM->getTargetData()->isLittleEndian(), - /*asmverbose*/true, IP, CE, ShowInst)); + Str.reset(TheTarget->createAsmStreamer(Ctx, FOS, + TM->getTargetData()->isLittleEndian(), + /*asmverbose*/true, IP, CE, ShowInst)); } else if (FileType == OFT_Null) { Str.reset(createNullStreamer(Ctx)); } else { |