Commit a94c723
committed
Instrument.C: properly error out when C source could not be parsed
If a C source can't be parsed, the resulting translation unit will be
null. In this case, emit an error message and error out. gnatcov used to
crash on an assertion failure.
Change-Id: I4da2a21539ba23260f2308d6e9df8effd2bbff00
TN: V816-0181 parent 29e9f90 commit a94c723
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2547 | 2547 | | |
2548 | 2548 | | |
2549 | 2549 | | |
| 2550 | + | |
| 2551 | + | |
| 2552 | + | |
| 2553 | + | |
| 2554 | + | |
| 2555 | + | |
| 2556 | + | |
2550 | 2557 | | |
2551 | 2558 | | |
2552 | 2559 | | |
| |||
0 commit comments