aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/API/lang/cpp/gmodules/alignment/pch.h
blob: f0be272aa601aacaa5261bd2a8ba089fabeded4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef PCH_H_IN
#define PCH_H_IN

static const int kAlignment = 64;

struct [[gnu::aligned(kAlignment)]] RowCol {
  unsigned row;
  unsigned col;
};

struct [[gnu::aligned(kAlignment)]] Submatrix {
  struct RowCol origin;
  struct RowCol size;
};

struct [[gnu::aligned(kAlignment)]] MatrixData {
  struct Submatrix section;
  unsigned stride;
};

#endif // _H_IN