You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Interesting that bcc also hit this in iovisor/bcc#615. The problem is actually the set_curterm((struct term *)nullptr). A possible fix for LLVM would be to only call setupterm() if cur_term != nullptr and not do the set_curterm()/del_curterm() dance at all.
After printing an LLVM diagnostic message, the REPL doesn't work properly. This is because in
asmaseDiagHandler()
, we callllvm::SMDiagnostic::print()
. This calls throughllvm::raw_fd_ostream::has_colors()
,llvm::sys::Process::FileDescriptorHasColors()
, and finallyterminalHasColors()
.terminalHasColors()
calls the ncursessetupterm()
function, which apparently breaks GNU readline. I need to figure out a way to workaround or fix this.The text was updated successfully, but these errors were encountered: