diff options
Diffstat (limited to 'src/ortho/llvm6/llvm-cbindings.cpp')
-rw-r--r-- | src/ortho/llvm6/llvm-cbindings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ortho/llvm6/llvm-cbindings.cpp b/src/ortho/llvm6/llvm-cbindings.cpp index 1841f5f8e..6e1964e2b 100644 --- a/src/ortho/llvm6/llvm-cbindings.cpp +++ b/src/ortho/llvm6/llvm-cbindings.cpp @@ -920,7 +920,7 @@ addArrayDebug(OTnodeArr *Atype, unsigned Len) OTnode ElType = static_cast<OTnodeArr *>(Atype)->ElType; Atype->Dbg = DBuilder->createArrayType - (Atype->getSize(), Atype->getAlignment(), + (Atype->getBitSize(), /* align */ 0, ElType->Dbg, DBuilder->getOrCreateArray(Subscripts)); } #endif |