in reply to Re^17: Perl 5 Optimizing Compiler, Part 4: LLVM Backend?
in thread Perl 5 Optimizing Compiler, Part 4: LLVM Backend?

The LastError does not survive, on failure OR success, through anything that sets LastError on failure. So even if TlsGetValue was successful, it presumably changed LastError, therefore masking the original error.
  • Comment on Re^18: Perl 5 Optimizing Compiler, Part 4: LLVM Backend?

Replies are listed 'Best First'.
Re^19: Perl 5 Optimizing Compiler, Part 4: LLVM Backend?
by BrowserUk (Patriarch) on Aug 30, 2012 at 17:22 UTC
    therefore masking the original error.

    Yes. But you're still missing the point.

    Who is ever going to want to see the original error, if between it occurring and them being able to get their hands on it, the internals have gone on to mess with the context?

    Under what circumstances, is that information going to be useful to anyone, if the context has changed in the interim?

    I say: no one.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    RIP Neil Armstrong