Displaying 2 results from an estimated 2 matches for "inlined_func".
2015 Apr 06
2
[LLVMdev] "distinct" metadata nodes are ...?
...t distinct-ness was invented as a replacement for a
self-reference hack, but that just begs the question. Why is this a
useful concept? What is it used for? Why shouldn't certain nodes be
merged based on their content?
My specific issue has to do with inlined-at chains. If I have
return inlined_func() + 1;
the inlined-at chain for inlined_func() [and whatever else is inlined
into inlined_func()] terminates in a node that is 'distinct' from the
node for the calling statement, even though they describe the same
source location. This didn't used to be a problem, chasing the chain
e...
2015 Apr 06
2
[LLVMdev] "distinct" metadata nodes are ...?
...t distinct-ness was invented as a replacement for a
self-reference hack, but that just begs the question. Why is this a
useful concept? What is it used for? Why shouldn't certain nodes be
merged based on their content?
My specific issue has to do with inlined-at chains. If I have
return inlined_func() + 1;
the inlined-at chain for inlined_func() [and whatever else is inlined
into inlined_func()] terminates in a node that is 'distinct' from the
node for the calling statement, even though they describe the same
source location. This didn't used to be a problem, chasing the chain
end...