summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/CodeView/ByteStream.cpp
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2016-06-10 04:52:09 +0000
committerRichard Trieu <rtrieu@google.com>2016-06-10 04:52:09 +0000
commit6a77a1c01f5f3f76546afd97c9aa1d2747bb7b6e (patch)
tree29b25838ba8e866efa41b2a051d53487ba89bc10 /llvm/lib/DebugInfo/CodeView/ByteStream.cpp
parent89c1761474e83f54b7b351c75ba5baae5d79f610 (diff)
downloadbcm5719-llvm-6a77a1c01f5f3f76546afd97c9aa1d2747bb7b6e.tar.gz
bcm5719-llvm-6a77a1c01f5f3f76546afd97c9aa1d2747bb7b6e.zip
Check for null pointers before calling the Stmt Profiler
Some calls from OMPClauseProfiler were calling the Stmt Profiler with null pointers, but the profiler can only handle non-null pointers. Add an assert to the VisitStmt for valid pointers, and check all calls from OMPClauseProfiler to be non-null pointers. llvm-svn: 272368
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView/ByteStream.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud