Skip to content

Commit 4542fb8

Browse files
committed
Adjust entry offset in SymPropReader.cpp
Signed-off-by: Larsen, Steffen <[email protected]>
1 parent 3e315e0 commit 4542fb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/tools/clang-offload-wrapper/SymPropReader.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ auto getInitializerNumElements(const Constant *Initializer) {
8686
// };
8787
//
8888

89-
constexpr unsigned int EntriesBeginIndexInTDI{10};
90-
constexpr unsigned int PropertySetBeginIndexInTDI{12};
89+
constexpr unsigned int EntriesBeginIndexInTDI{8};
90+
constexpr unsigned int PropertySetBeginIndexInTDI{10};
9191

9292
// struct __tgt_offload_entry {
9393
// void *addr;

0 commit comments

Comments
 (0)