about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorMichael Woerister <michaelwoerister@gmail>2014-01-02 15:20:43 +0100
committerMichael Woerister <michaelwoerister@gmail>2014-01-02 15:20:43 +0100
commit6d20876c3ffa34c3daaff409b995d863faea9787 (patch)
treef7bf582b3accd739bcabe27b03d5d187eacea125 /src/rustllvm/RustWrapper.cpp
parentd459e805df076ace12ed3f7f57f2b1378f0e2403 (diff)
downloadrust-6d20876c3ffa34c3daaff409b995d863faea9787.tar.gz
rust-6d20876c3ffa34c3daaff409b995d863faea9787.zip
debuginfo: Fix issue #11083 and some minor clean up.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
-rw-r--r--src/rustllvm/RustWrapper.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/rustllvm/RustWrapper.cpp b/src/rustllvm/RustWrapper.cpp
index d66f90a5352..39991701b06 100644
--- a/src/rustllvm/RustWrapper.cpp
+++ b/src/rustllvm/RustWrapper.cpp
@@ -442,7 +442,8 @@ extern "C" LLVMValueRef LLVMDIBuilderCreateUnionType(
     uint64_t AlignInBits,
     unsigned Flags,
     LLVMValueRef Elements,
-    unsigned RunTimeLang)
+    unsigned RunTimeLang,
+    const char* UniqueId)
 {
     return wrap(Builder->createUnionType(
         unwrapDI<DIDescriptor>(Scope),
@@ -453,7 +454,8 @@ extern "C" LLVMValueRef LLVMDIBuilderCreateUnionType(
         AlignInBits,
         Flags,
         unwrapDI<DIArray>(Elements),
-        RunTimeLang));
+        RunTimeLang,
+        UniqueId));
 }
 
 extern "C" void LLVMSetUnnamedAddr(LLVMValueRef Value, LLVMBool Unnamed) {