summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/CodeGen/DIEHashTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/unittests/CodeGen/DIEHashTest.cpp')
-rw-r--r--llvm/unittests/CodeGen/DIEHashTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/CodeGen/DIEHashTest.cpp b/llvm/unittests/CodeGen/DIEHashTest.cpp
index f60b0dd3b7e..c82876b8058 100644
--- a/llvm/unittests/CodeGen/DIEHashTest.cpp
+++ b/llvm/unittests/CodeGen/DIEHashTest.cpp
@@ -31,8 +31,8 @@ private:
public:
DIEString getString(StringRef S) {
DwarfStringPoolEntry Entry = {nullptr, 1, 1};
- return DIEString(
- DwarfStringPoolEntryRef(*Pool.insert(std::make_pair(S, Entry)).first));
+ return DIEString(DwarfStringPoolEntryRef(
+ *Pool.insert(std::make_pair(S, Entry)).first, Entry.isIndexed()));
}
};
OpenPOWER on IntegriCloud