aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/SampleProfReader.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@apple.com>2015-10-08 19:30:57 +0000
committerAkira Hatanaka <ahatanaka@apple.com>2015-10-08 19:30:57 +0000
commit200500d6d3bf98212c9cad8eb564c9b9b202fb1f (patch)
tree54eaee417c7a8d59ecc633951084430b274740ec /llvm/lib/ProfileData/SampleProfReader.cpp
parent8b5e7baab2327ef84d61f8cfdf4531638f80630b (diff)
downloadllvm-200500d6d3bf98212c9cad8eb564c9b9b202fb1f.zip
llvm-200500d6d3bf98212c9cad8eb564c9b9b202fb1f.tar.gz
llvm-200500d6d3bf98212c9cad8eb564c9b9b202fb1f.tar.bz2
[CodeGen] Check if the Decl pointer passed is null, and if so, return
early. This is needed in a patch I plan to commit later, in which a null Decl pointer is passed to SetLLVMFunctionAttributesForDefinition. Relevant discussion is in http://reviews.llvm.org/D13525. llvm-svn: 249722
Diffstat (limited to 'llvm/lib/ProfileData/SampleProfReader.cpp')
0 files changed, 0 insertions, 0 deletions