summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/DebugInfo.cpp
diff options
context:
space:
mode:
authorSam McCall <sam.mccall@gmail.com>2019-11-18 15:53:22 +0100
committerSam McCall <sam.mccall@gmail.com>2019-11-18 15:53:22 +0100
commitd27a16eb392f39f9ee04ff5194b1eff3e189e6f8 (patch)
tree07cde0e127245a20761b95478ba7700bf78ef32c /llvm/lib/IR/DebugInfo.cpp
parentdea8f3b0a4eabb930f605343ff5e3e39a1791f86 (diff)
downloadbcm5719-llvm-d27a16eb392f39f9ee04ff5194b1eff3e189e6f8.tar.gz
bcm5719-llvm-d27a16eb392f39f9ee04ff5194b1eff3e189e6f8.zip
Revert "[DWARF5]Addition of alignment atrribute in typedef DIE."
This reverts commit 423f541c1a322963cf482683fe9777ef0692082d, which breaks llvm-c ABI.
Diffstat (limited to 'llvm/lib/IR/DebugInfo.cpp')
-rw-r--r--llvm/lib/IR/DebugInfo.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/lib/IR/DebugInfo.cpp b/llvm/lib/IR/DebugInfo.cpp
index 62bfeb5c5d7..1bbe6b85d26 100644
--- a/llvm/lib/IR/DebugInfo.cpp
+++ b/llvm/lib/IR/DebugInfo.cpp
@@ -1108,10 +1108,11 @@ LLVMMetadataRef
LLVMDIBuilderCreateTypedef(LLVMDIBuilderRef Builder, LLVMMetadataRef Type,
const char *Name, size_t NameLen,
LLVMMetadataRef File, unsigned LineNo,
- LLVMMetadataRef Scope, uint32_t AlignInBits) {
+ LLVMMetadataRef Scope) {
return wrap(unwrap(Builder)->createTypedef(
- unwrapDI<DIType>(Type), {Name, NameLen}, unwrapDI<DIFile>(File), LineNo,
- unwrapDI<DIScope>(Scope), AlignInBits));
+ unwrapDI<DIType>(Type), {Name, NameLen},
+ unwrapDI<DIFile>(File), LineNo,
+ unwrapDI<DIScope>(Scope)));
}
LLVMMetadataRef
OpenPOWER on IntegriCloud