Displaying 3 results from an estimated 3 matches for "frameindexexprs".
2017 Sep 19
3
Jump Threading duplicates dbg.declare intrinsics for fragments, bug?
...diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 499780a173b..308b6bd2b9f 100644
--- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -220,6 +220,13 @@ ArrayRef<DbgVariable::FrameIndexExpr>
DbgVariable::getFrameIndexExprs() const {
return A.Expr->getFragmentInfo()->OffsetInBits <
B.Expr->getFragmentInfo()->OffsetInBits;
});
+
+ auto last = std::unique(FrameIndexExprs.begin(), FrameIndexExprs.end(),
+ [](const FrameIndexExpr &A, const FrameInd...
2017 Sep 19
0
Jump Threading duplicates dbg.declare intrinsics for fragments, bug?
...Printer/DwarfDebug.cpp
> b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
> index 499780a173b..308b6bd2b9f 100644
> --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
> +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
> @@ -220,6 +220,13 @@ ArrayRef<DbgVariable::FrameIndexExpr>
> DbgVariable::getFrameIndexExprs() const {
> return A.Expr->getFragmentInfo()->OffsetInBits <
> B.Expr->getFragmentInfo()->OffsetInBits;
> });
> +
> + auto last = std::unique(FrameIndexExprs.begin(), FrameIndexExprs.end(),
> + [](const Fram...
2017 Sep 19
2
Jump Threading duplicates dbg.declare intrinsics for fragments, bug?
...gt;> b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
>> index 499780a173b..308b6bd2b9f 100644
>> --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
>> +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
>> @@ -220,6 +220,13 @@ ArrayRef<DbgVariable::FrameIndexExpr>
>> DbgVariable::getFrameIndexExprs() const {
>> return A.Expr->getFragmentInfo()->OffsetInBits <
>> B.Expr->getFragmentInfo()->OffsetInBits;
>> });
>> +
>> + auto last = std::unique(FrameIndexExprs.begin(), FrameIndexExprs.end(),
>>...