mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-22 10:24:26 +00:00
uselistorder: Pull the assembly bit up out of the printer
Pull the `-preserve-ll-uselistorder` bit up through all the callers of `Module::print()`. I converted callers of `operator<<` to `Module::print()` where necessary to pull the bit through. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234968 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -150,7 +150,7 @@ int main(int argc, char **argv) {
|
||||
|
||||
if (Verbose) errs() << "Writing bitcode...\n";
|
||||
if (OutputAssembly) {
|
||||
Out.os() << *Composite;
|
||||
Composite->print(Out.os(), nullptr, shouldPreserveAssemblyUseListOrder());
|
||||
} else if (Force || !CheckBitcodeOutputToConsole(Out.os(), true))
|
||||
WriteBitcodeToFile(Composite.get(), Out.os(),
|
||||
shouldPreserveBitcodeUseListOrder());
|
||||
|
Reference in New Issue
Block a user