diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2011-05-05 00:08:20 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2011-05-05 00:08:20 +0000 |
commit | 85c011ddc49cb2b108baaca6b36b76b9dcfd7119 (patch) | |
tree | c444ae06ba08c97f7455e9f2c09a1e8b9393d010 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | e262299b72ea13afe959cd94462659618bab6d95 (diff) | |
download | bcm5719-llvm-85c011ddc49cb2b108baaca6b36b76b9dcfd7119.tar.gz bcm5719-llvm-85c011ddc49cb2b108baaca6b36b76b9dcfd7119.zip |
Preserve the full name of the file, so that '-c -o foo.pic.o' produces
foo.pic.gcno instead of foo.gcno.
llvm-svn: 130899
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index 180ce3efcbe..924e5ed4cbe 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -974,7 +974,7 @@ static void ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, InputKind IK, Opts.InstrumentForProfiling = Args.hasArg(OPT_pg); Opts.EmitGcovArcs = Args.hasArg(OPT_femit_coverage_data); Opts.EmitGcovNotes = Args.hasArg(OPT_femit_coverage_notes); - Opts.CoverageDir = Args.getLastArgValue(OPT_coverage_dir); + Opts.CoverageFile = Args.getLastArgValue(OPT_coverage_file); if (Arg *A = Args.getLastArg(OPT_fobjc_dispatch_method_EQ)) { llvm::StringRef Name = A->getValue(Args); |