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: [email protected]
Reporter: [email protected]
CC: [email protected]
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.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs