Using -view-legalize-dags

I’m trying to debug an issue in codegen but when using:

llc -view-legalize-dags -O1 -march=x86-64 -o c-01.s c-opt.bc

I get a .dot file and while it has the DAG the nodes do not have any text. I’m probably doing something very stupid but I cannot figure what it is can anyone point out what I’m doing wrong?

Thanks,

Ben

I’m on Unbunto 9.3:

dotty version 96c (09-24-96)

lefty version 10 Mar 2005

graphviz version 2.20.2 (Mon Mar 30 10:11:53 UTC 2009)