| Summary: | Assertion fails for negative lineno | ||
|---|---|---|---|
| Product: | [Developer tools] valgrind | Reporter: | Jim Garrison <jim> |
| Component: | general | Assignee: | Julian Seward <jseward> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | flo2030, philippe.waroquiers, tim.besard |
| Priority: | NOR | ||
| Version First Reported In: | 3.10 SVN | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| URL: | https://github.com/JuliaLang/julia/issues/10806#issuecomment-92592763 | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
Patch to change assertion to warning
Remove other lineno>=0 assertion. |
||
|
Description
Jim Garrison
2015-05-28 04:21:41 UTC
Created attachment 92880 [details]
Patch to change assertion to warning
Is there a corresponding LLVM bug? Surely, a negative line number does not sound right. Or does LLVM use negative line numbers on purpose to refer to special source locations such as builtin macros or the command line? Committed, r15544. Thanks for the patch. Created attachment 96955 [details]
Remove other lineno>=0 assertion.
Similar to the original report, I've also been running into a negative lineno assertion, using valgrind from SVN trunk with Julia using LLVM 3.7. I assume the remaining `lineno >= 0` assertion (for inlined calls) needs to be axed as well? Attached is a small patch.
Transformed the other assert for negative line number in a complain once + refactorisation of the checking committed in revision 15780. Thanks for the patch |