diff options
author | Sam McCall <sam.mccall@gmail.com> | 2019-11-18 15:53:22 +0100 |
---|---|---|
committer | Sam McCall <sam.mccall@gmail.com> | 2019-11-18 15:53:22 +0100 |
commit | d27a16eb392f39f9ee04ff5194b1eff3e189e6f8 (patch) | |
tree | 07cde0e127245a20761b95478ba7700bf78ef32c /llvm/lib/IR/DebugInfo.cpp | |
parent | dea8f3b0a4eabb930f605343ff5e3e39a1791f86 (diff) | |
download | bcm5719-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.cpp | 7 |
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 |