Displaying 3 results from an estimated 3 matches for "499780a173b".
2017 Sep 19
3
Jump Threading duplicates dbg.declare intrinsics for fragments, bug?
....
The duplicated call was generated by the jump threading pass.
I have a patch (see below) that removes simply such duplicates, but
I'm not sure whether that is the right approach.
Cheers,
Björn
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 <...
2017 Sep 19
0
Jump Threading duplicates dbg.declare intrinsics for fragments, bug?
...ng pass.
>
> I have a patch (see below) that removes simply such duplicates, but
> I'm not sure whether that is the right approach.
>
> Cheers,
> Björn
>
>
> 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()->Off...
2017 Sep 19
2
Jump Threading duplicates dbg.declare intrinsics for fragments, bug?
...ass.
>> I have a patch (see below) that removes simply such duplicates, but
>> I'm not sure whether that is the right approach.
>> Cheers,
>> Björn
>> 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->getFra...