]> granicus.if.org Git - llvm/commit
InstrProf: Fix unit test which accidentally used a duplicate name
authorVedant Kumar <vsk@apple.com>
Mon, 10 Jul 2017 21:44:43 +0000 (21:44 +0000)
committerVedant Kumar <vsk@apple.com>
Mon, 10 Jul 2017 21:44:43 +0000 (21:44 +0000)
commitcdcc59f9d06b46b90cc89c447ab658c53a995045
tree7d4f2709b3529d88a859663cc2dd2da4d86240df
parent8a3ff6431f415939238052f7a262876dd775617d
InstrProf: Fix unit test which accidentally used a duplicate name

This unit test constructed some profile records incorrectly. One of the
records had a duplicate name: adding that record into the writer caused
an error unrelated to what needed to be tested.

Reported by David Blaikie!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307596 91177308-0d34-0410-b5e6-96231b3b80d8
unittests/ProfileData/InstrProfTest.cpp