This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Misc. changes that add or remove pointer/bound checks
ClosedPublic

Authored by hbae on Mar 13 2021, 9:20 AM.

Details

Summary

Summary of the changes:

  • Added or moved checks to appropriate places.
  • Removed ineffective null check where the pointer is already being dereferenced around the code.
  • Initialized variables that can be used without definitions.
  • Added call to dlclose/FreeLibrary in OMPT tool activation.
  • Added a new build compiler definition.

Diff Detail

Event Timeline

hbae created this revision.Mar 13 2021, 9:20 AM
hbae requested review of this revision.Mar 13 2021, 9:20 AM
jlpeyton accepted this revision.Mar 23 2021, 1:34 PM

These look fine to me.

This revision is now accepted and ready to land.Mar 23 2021, 1:34 PM
This revision was landed with ongoing or failed builds.Mar 23 2021, 4:55 PM
This revision was automatically updated to reflect the committed changes.