[llvm] r248342 - IR: Add a setDWOId() method to DICompileUnit.

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 22 16:21:06 PDT 2015


Author: adrian
Date: Tue Sep 22 18:21:06 2015
New Revision: 248342

URL: http://llvm.org/viewvc/llvm-project?rev=248342&view=rev
Log:
IR: Add a setDWOId() method to DICompileUnit.

Tested via clang.

Modified:
    llvm/trunk/include/llvm/IR/DebugInfoMetadata.h

Modified: llvm/trunk/include/llvm/IR/DebugInfoMetadata.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/DebugInfoMetadata.h?rev=248342&r1=248341&r2=248342&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/DebugInfoMetadata.h (original)
+++ llvm/trunk/include/llvm/IR/DebugInfoMetadata.h Tue Sep 22 18:21:06 2015
@@ -1027,6 +1027,7 @@ public:
     return cast_or_null<MDTuple>(getRawImportedEntities());
   }
   uint64_t getDWOId() const { return DWOId; }
+  void setDWOId(uint64_t DwoId) { DWOId = DwoId; }
 
   MDString *getRawProducer() const { return getOperandAs<MDString>(1); }
   MDString *getRawFlags() const { return getOperandAs<MDString>(2); }




More information about the llvm-commits mailing list