diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2015-05-18 07:54:53 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2015-05-18 07:54:53 +0000 |
commit | 8fc69dcf42417866b960ae6dbdb284fb8e70c393 (patch) | |
tree | 515c54b77eef13b59ab62107e0ad07a3855fc5c1 /clang/lib/Format/ContinuationIndenter.cpp | |
parent | b8573cba02c4f6867ea459cc51308ea5365bb947 (diff) | |
download | bcm5719-llvm-8fc69dcf42417866b960ae6dbdb284fb8e70c393.tar.gz bcm5719-llvm-8fc69dcf42417866b960ae6dbdb284fb8e70c393.zip |
[OPENMP] Fix for '#pragma omp task' codegen.
Internal task structure must be generated like
typedef struct kmp_task {
void * shareds;
kmp_routine_entry_t routine;
kmp_int32 part_id;
kmp_routine_entry_t destructors;
} kmp_task_t;
struct kmp_task_t_with_privates {
kmp_task_t task_data;
.kmp_private. privates;
};
to avoid possible additional alignment bytes in first fields (shareds, routine, part_id and destructors). Runtime library is not aware of such kind additional alignment bytes.
llvm-svn: 237561
Diffstat (limited to 'clang/lib/Format/ContinuationIndenter.cpp')
0 files changed, 0 insertions, 0 deletions