Displaying 2 results from an estimated 2 matches for "replaceglobals".
2018 Dec 06
2
DebugInfo: Global variable expression management
...ntire compiler without
> modifying any MDNodes.
I guess we only create new ones when it comes to creating complicated dwarf
location descriptions/expressions as optimizations change local variables
around? So not modification in that case?
> That said, DICompileUnit is distinct so calling replaceGlobals() on it is
> probably safe.
>
> What would the primary benefit of making this change be?
>
Oh, just noticed as an aside while I was filing the aforementioned bugs -
struck me as weird that they were connected in two places is all. No major
thing I can think of.
- Dave
-------------- n...
2018 Dec 05
2
DebugInfo: Global variable expression management
Hi Folks,
Looking into some other issues, I came across a couple of oddities with
regard to debug info for global variables (PR39900
<https://bugs.llvm.org/show_bug.cgi?id=39900> and PR39899
<https://bugs.llvm.org/show_bug.cgi?id=39899>).
But a broader question I was wondering if it was anyone's radar (it's not
something I'll be pushing on myself in the near future, but