mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Add registry hook for assembly text output
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118394 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user