Displaying 5 results from an estimated 5 matches for "getscopelin".
Did you mean:
getscopeline
2016 Dec 02
2
Libfuzzer depending on uninitialized debug info
..., I did not mean you implied that :)
Just wanted to make sure everyone understand that this is not libFuzzer-specific.
Looking at lib/Transforms/Instrumentation/SanitizerCoverage.cpp:
DebugLoc EntryLoc;
if (IsEntryBB) {
if (auto SP = F.getSubprogram())
EntryLoc = DebugLoc::get(SP->getScopeLine(), 0, SP);
...
} else {
EntryLoc = IP->getDebugLoc();
}
IRBuilder<> IRB(&*IP);
IRB.SetCurrentDebugLocation(EntryLoc);
So, using this I assumed that the newly generated instructions have proper debug info,
and so far it worked.
I wonder if you can re-commit your changes u...
2016 Dec 01
2
Libfuzzer depending on uninitialized debug info
It might be a wider problem than libfuzzer. I did want to raise the problem asap and libfuzzer is something we know has the problem.
If it came across as "libfuzzer is evil" that was not my intent, sorry!
--paulr
From: Kostya Serebryany [mailto:kcc at google.com]
Sent: Thursday, December 01, 2016 2:53 PM
To: Robinson, Paul
Cc: llvm-dev at lists.llvm.org
Subject: Re: [llvm-dev]
2016 Dec 02
2
Libfuzzer depending on uninitialized debug info
..., I did not mean you implied that :)
Just wanted to make sure everyone understand that this is not libFuzzer-specific.
Looking at lib/Transforms/Instrumentation/SanitizerCoverage.cpp:
DebugLoc EntryLoc;
if (IsEntryBB) {
if (auto SP = F.getSubprogram())
EntryLoc = DebugLoc::get(SP->getScopeLine(), 0, SP);
...
} else {
EntryLoc = IP->getDebugLoc();
}
IRBuilder<> IRB(&*IP);
IRB.SetCurrentDebugLocation(EntryLoc);
So, using this I assumed that the newly generated instructions have proper debug info,
and so far it worked.
I wonder if you can re-commit your changes u...
2016 Dec 03
0
Libfuzzer depending on uninitialized debug info
...eryone understand that this is not
> libFuzzer-specific.
>
>
>
> Looking at lib/Transforms/Instrumentation/SanitizerCoverage.cpp:
>
> DebugLoc EntryLoc;
>
> if (IsEntryBB) {
>
> if (auto SP = F.getSubprogram())
>
> EntryLoc = DebugLoc::get(SP->getScopeLine(), 0, SP);
>
> ...
>
> } else {
>
> EntryLoc = IP->getDebugLoc();
>
> }
>
> IRBuilder<> IRB(&*IP);
>
> IRB.SetCurrentDebugLocation(EntryLoc);
>
>
>
> So, using this I assumed that the newly generated instructions have proper...
2016 Dec 12
1
Libfuzzer depending on uninitialized debug info
..., I did not mean you implied that :)
Just wanted to make sure everyone understand that this is not libFuzzer-specific.
Looking at lib/Transforms/Instrumentation/SanitizerCoverage.cpp:
DebugLoc EntryLoc;
if (IsEntryBB) {
if (auto SP = F.getSubprogram())
EntryLoc = DebugLoc::get(SP->getScopeLine(), 0, SP);
...
} else {
EntryLoc = IP->getDebugLoc();
}
IRBuilder<> IRB(&*IP);
IRB.SetCurrentDebugLocation(EntryLoc);
So, using this I assumed that the newly generated instructions have proper debug info,
and so far it worked.
I wonder if you can re-commit your changes u...