OSDN Git Service

Refactor GCOV's six constructor arguments into a struct with a getter that
authorNick Lewycky <nicholas@mxc.ca>
Thu, 14 Mar 2013 05:13:26 +0000 (05:13 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Thu, 14 Mar 2013 05:13:26 +0000 (05:13 +0000)
commita204ef3168c8804808c716115ba915c89d8849b9
tree89977f1b395a5d809205057e9d486774e2945ce3
parentc14f1c4587ba19781e557dee605efac0e1bd6109
Refactor GCOV's six constructor arguments into a struct with a getter that
constructs default arguments. It can now take default arguments from
cl::opt'ions. Add a new -default-gcov-version=... option, and actually test it!

Sink the reverse-order of the version into GCOVProfiling, hiding it from our
users.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177002 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Transforms/Instrumentation.h
lib/Transforms/Instrumentation/GCOVProfiling.cpp
test/Transforms/GCOVProfiling/lit.local.cfg [new file with mode: 0644]
test/Transforms/GCOVProfiling/version.ll [new file with mode: 0644]