[llvm-bugs] [Bug 26385] New: Cannot re-direct llvm-config output to file when configuring with LLVM_LINK_TOOLS_DYLIB
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Jan 29 18:11:51 PST 2016
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: unassignedbugs at nondot.org
Reporter: tstellar at gmail.com
CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160130/e8b5e448/attachment-0001.html>
More information about the llvm-bugs
mailing list