https://llvm.org/bugs/show_bug.cgi?id=26385

            Bug ID: 26385
           Summary: Cannot re-direct llvm-config output to file when
                    configuring with LLVM_LINK_TOOLS_DYLIB
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Support Libraries
          Assignee: unassignedb...@nondot.org
          Reporter: tstel...@gmail.com
                CC: llvm-bugs@lists.llvm.org
    Classification: Unclassified

It appears that the destructor for outs(), which llvm-config uses to print
output, is never called so the output is never flushed.  This only seems to
happen when using -DLLVM_LINK_TOOLS_DYLIB

This makes it impossible to redirect output from llvm-config to a file:

llvm-config --version > llvm-version.txt

Results in an empty file.


For more information see http://reviews.llvm.org/D14543.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to