Ticket #5403 (closed bug: worksforme)
LLVM's llc pass does not print all the error messages to the console.
|Reported by:||kgardas||Owned by:||dterei|
|Type of failure:||Other||Difficulty:|
|Test Case:||Blocked By:|
Hello, when working on ARM port I've noticed that when LLVM's llc tool provides nicely formated error message for more than one line then GHC does not print all the lines out to the error output but just forgets them. This is bad IMHO since having it printed all the info is needed in case of the LLVM's errors I got: this was full backtrace of assert inside llc -- very helpful for debugging of what's going on. Also such assert was easily solved later by just adding proper -optlc= option to be passed to LLVM llc. So this is not just for new port developers, but will probably also helps general GHC audience, i.e. GHC users on platform where LLVM is used.