aboutsummaryrefslogtreecommitdiffstats
path: root/tools/llc
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-03-25 01:48:21 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-03-25 01:48:21 +0000
commit23120babfaa23e1ecfe374866f498855dbe5fe27 (patch)
tree1677d31e95b227ae15ab3fe9dfd1eaf96f62a5db /tools/llc
parent42bf74be1402df7409efbea089310d4c276fde37 (diff)
downloadexternal_llvm-23120babfaa23e1ecfe374866f498855dbe5fe27.zip
external_llvm-23120babfaa23e1ecfe374866f498855dbe5fe27.tar.gz
external_llvm-23120babfaa23e1ecfe374866f498855dbe5fe27.tar.bz2
CodeGen still defaults to non-verbose asm, but llc now overrides it and default to verbose.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67669 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llc')
-rw-r--r--tools/llc/llc.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp
index c80e929..1b84d4d 100644
--- a/tools/llc/llc.cpp
+++ b/tools/llc/llc.cpp
@@ -280,6 +280,9 @@ int main(int argc, char **argv) {
// Ask the target to add backend passes as necessary.
MachineCodeEmitter *MCE = 0;
+ // Override default to generate verbose assembly.
+ Target.setAsmVerbosityDefault(true);
+
switch (Target.addPassesToEmitFile(Passes, *Out, FileType, Fast)) {
default:
assert(0 && "Invalid file model!");