summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-c-test
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/tools/llvm-c-test
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/tools/llvm-c-test')
-rw-r--r--llvm/tools/llvm-c-test/debuginfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-c-test/debuginfo.c b/llvm/tools/llvm-c-test/debuginfo.c
index b5080f01193..e498de6a745 100644
--- a/llvm/tools/llvm-c-test/debuginfo.c
+++ b/llvm/tools/llvm-c-test/debuginfo.c
@@ -69,7 +69,7 @@ int llvm_test_dibuilder(void) {
LLVMMetadataRef Int64Ty =
LLVMDIBuilderCreateBasicType(DIB, "Int64", 5, 64, 0, LLVMDIFlagZero);
LLVMMetadataRef Int64TypeDef =
- LLVMDIBuilderCreateTypedef(DIB, Int64Ty, "int64_t", 7, File, 42, File, 0);
+ LLVMDIBuilderCreateTypedef(DIB, Int64Ty, "int64_t", 7, File, 42, File);
LLVMMetadataRef GlobalVarValueExpr =
LLVMDIBuilderCreateConstantValueExpression(DIB, 0);
OpenPOWER on IntegriCloud