In InsertProfilingInitCall(), make it legal to pass in a null array, in
authorBrian Gaeke <gaeke@uiuc.edu>
Mon, 3 May 2004 22:06:33 +0000 (22:06 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Mon, 3 May 2004 22:06:33 +0000 (22:06 +0000)
commitebbc0e9bbf51e4ee583d7603b033813566c62c3f
treef1914e49855993992ce68d74508094d892e55061
parentc03eb7b923d4ba40a647ffd364cd2e89fc22301d
In InsertProfilingInitCall(), make it legal to pass in a null array, in
which case you'll get a null array and zero passed to the profiling function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13336 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/ProfilingUtils.cpp
lib/Transforms/Instrumentation/ProfilingUtils.h