From 02aa134d9259691683e1e047824994fd8b85a737 Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Tue, 22 Sep 2015 23:21:06 +0000 Subject: [PATCH] IR: Add a setDWOId() method to DICompileUnit. Tested via clang. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248342 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/IR/DebugInfoMetadata.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/llvm/IR/DebugInfoMetadata.h b/include/llvm/IR/DebugInfoMetadata.h index 9b758a51349..27b92eea405 100644 --- a/include/llvm/IR/DebugInfoMetadata.h +++ b/include/llvm/IR/DebugInfoMetadata.h @@ -1027,6 +1027,7 @@ public: return cast_or_null(getRawImportedEntities()); } uint64_t getDWOId() const { return DWOId; } + void setDWOId(uint64_t DwoId) { DWOId = DwoId; } MDString *getRawProducer() const { return getOperandAs(1); } MDString *getRawFlags() const { return getOperandAs(2); } -- 2.34.1