diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-15 00:10:50 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-15 00:10:50 +0000 |
commit | a052ed6381f15a78e6e49a665b255234762fa15a (patch) | |
tree | 1df677ad82d7ff85ce6b3b3358aca9ad330371b4 /llvm/tools/llvm-as/llvm-as.cpp | |
parent | 458593a4571dae5bcb9039ef59b47cf44ed3e3a1 (diff) | |
download | bcm5719-llvm-a052ed6381f15a78e6e49a665b255234762fa15a.tar.gz bcm5719-llvm-a052ed6381f15a78e6e49a665b255234762fa15a.zip |
uselistorder: Pull the bit through WriteToBitcodFile()
Change the callers of `WriteToBitcodeFile()` to pass `true` or
`shouldPreserveBitcodeUseListOrder()` explicitly. I left the callers
that want to send `false` alone.
I'll keep pushing the bit higher until hopefully I can delete the global
`cl::opt` entirely.
llvm-svn: 234957
Diffstat (limited to 'llvm/tools/llvm-as/llvm-as.cpp')
-rw-r--r-- | llvm/tools/llvm-as/llvm-as.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-as/llvm-as.cpp b/llvm/tools/llvm-as/llvm-as.cpp index ae8ca569fd4..1d48596a24f 100644 --- a/llvm/tools/llvm-as/llvm-as.cpp +++ b/llvm/tools/llvm-as/llvm-as.cpp @@ -79,7 +79,7 @@ static void WriteOutputFile(const Module *M) { } if (Force || !CheckBitcodeOutputToConsole(Out->os(), true)) - WriteBitcodeToFile(M, Out->os()); + WriteBitcodeToFile(M, Out->os(), shouldPreserveBitcodeUseListOrder()); // Declare success. Out->keep(); |