diff options
| author | Richard Trieu <rtrieu@google.com> | 2016-06-10 04:52:09 +0000 |
|---|---|---|
| committer | Richard Trieu <rtrieu@google.com> | 2016-06-10 04:52:09 +0000 |
| commit | 6a77a1c01f5f3f76546afd97c9aa1d2747bb7b6e (patch) | |
| tree | 29b25838ba8e866efa41b2a051d53487ba89bc10 /llvm/lib/Option | |
| parent | 89c1761474e83f54b7b351c75ba5baae5d79f610 (diff) | |
| download | bcm5719-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/Option')
0 files changed, 0 insertions, 0 deletions

