[llvm-bugs] [Bug 31532] New: Test driver/opt-record.c fails on targets that default to -no-integrated-as
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Jan 4 02:21:02 PST 2017
https://llvm.org/bugs/show_bug.cgi?id=31532
Bug ID: 31532
Summary: Test driver/opt-record.c fails on targets that default
to -no-integrated-as
Product: clang
Version: 3.9
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: Driver
Assignee: unassignedclangbugs at nondot.org
Reporter: ftee at flametop.co.uk
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
The test driver/opt-record.c attempts to check that the
-fsave-optimization-record switch creates the correct output file when used
with -c and -o FOO.
However, if the target is a compiler which defaults to -no-integrated-as, the
-fsave-optimization-record creates a file based on the temporary output .s file
not the -o filename.
For example, on windows
clang -c -no-integrated-as -v -fsave-optimization-record -o FOO opt-record.c
generates
-opt-record-file "d:\\temp\\opt-record-7ecc39.opt.yaml"
I am unsure if this should be treated as an error in the test or that the
-fsave-optimization-record handling in the driver should ensure it uses the -o
filename and not the intermediate .s file.
--
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/20170104/33f9b31f/attachment.html>
More information about the llvm-bugs
mailing list