diff options
author | Jan Sjodin <jan_sjodin@yahoo.com> | 2022-10-28 13:54:59 -0400 |
---|---|---|
committer | Jan Sjodin <jan_sjodin@yahoo.com> | 2022-10-31 10:49:44 -0400 |
commit | 67f8521cd4b6a3bd23263ad21bd6841081fd084f (patch) | |
tree | 0410da32cbb9ec0debff849aff8aa6bb5054a803 /llvm/unittests/Support/CommandLineTest.cpp | |
parent | b923c15d3c00c78a7b9258e79755df9587e1f0b1 (diff) | |
download | llvm-67f8521cd4b6a3bd23263ad21bd6841081fd084f.zip llvm-67f8521cd4b6a3bd23263ad21bd6841081fd084f.tar.gz llvm-67f8521cd4b6a3bd23263ad21bd6841081fd084f.tar.bz2 |
[OpenMP] [OMPIRBuilder] Create a new datatype to hold the unique target region info
Re-apply of: 3d0e9edd8e53fb72e85084f4170513159212839a
Reverted in: 0cb65b0a585c8b3d4a8a2aefe994a8fc907934f8
A function parameter was using the wrong type 'llvm::TargetRegion' instead of
'const llvm:: TargetRegion&', which caused the error in the address sanitizer.
The correct type is now used.
This patch puts the individual target region information attributes into a
struct so that the nested mappings are not needed and passing the information
around is simplified.
Reviewed By: jdoerfert, mikerice
Differential Revision: https://reviews.llvm.org/D136601
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions