printing debug info

Hi,

According to the LLVM website, the pass-print-dbginfo should print :

Pass that prints instructions, and associated debug info:

  • source/line/col information
  • original variable name
  • original type name

But the following is the output I get. It has no source file names. It does not print any instructions. It only prints function and variable names:

function main

:
; %2 is variable argc of type int declared at :10
; %3 is variable argv of type declared at :10
; %N is variable N of type unsigned int declared at :13
; %i is variable i of type unsigned int declared at :17
; %2 is variable argc of type int declared at :10
; %3 is variable argv of type declared at :10
; %3 is variable argv of type declared at :10
; %N is variable N of type unsigned int declared at :13
; %N is variable N of type unsigned int declared at :13
; %N is variable N of type unsigned int declared at :13
; %N is variable N of type unsigned int declared at :13
; %i is variable i of type unsigned int declared at :17
:
; %i is variable i of type unsigned int declared at :17
; %N is variable N of type unsigned int declared at :13
:
; %N is variable N of type unsigned int declared at :13
; %i is variable i of type unsigned int declared at :17
; %N is variable N of type unsigned int declared at :13
; %i is variable i of type unsigned int declared at :17
; %N is variable N of type unsigned int declared at :13
; %i is variable i of type unsigned int declared at :17
:
; %i is variable i of type unsigned int declared at :17
; %i is variable i of type unsigned int declared at :17
:
; %N is variable N of type unsigned int declared at :13
; %N is variable N of type unsigned int declared at :13
; %N is variable N of type unsigned int declared at :13
function _Z4initj

:
; %1 is variable N of type unsigned int declared at :34
; %i is variable i of type int declared at :36
; %j is variable j of type int declared at :39
; %1 is variable N of type unsigned int declared at :34
; %i is variable i of type int declared at :36
:
; %i is variable i of type int declared at :36
; %1 is variable N of type unsigned int declared at :34
:
; %j is variable j of type int declared at :39
:
; %j is variable j of type int declared at :39
; %1 is variable N of type unsigned int declared at :34
:
; %i is variable i of type int declared at :36
; %j is variable j of type int declared at :39
; %j is variable j of type int declared at :39
; %i is variable i of type int declared at :36
; %i is variable i of type int declared at :36
; %j is variable j of type int declared at :39
; %j is variable j of type int declared at :39
; %i is variable i of type int declared at :36
:
; %j is variable j of type int declared at :39
; %j is variable j of type int declared at :39
:
:
; %i is variable i of type int declared at :36
; %i is variable i of type int declared at :36
:
function _Z5printj

:
; %1 is variable N of type unsigned int declared at :48
; %i is variable i of type int declared at :50
; %j is variable j of type int declared at :53
; %1 is variable N of type unsigned int declared at :48
; %i is variable i of type int declared at :50
:
; %i is variable i of type int declared at :50
; %1 is variable N of type unsigned int declared at :48
:
; %j is variable j of type int declared at :53
:
; %j is variable j of type int declared at :53
; %1 is variable N of type unsigned int declared at :48
:
; %j is variable j of type int declared at :53
; %i is variable i of type int declared at :50
:
; %j is variable j of type int declared at :53
; %j is variable j of type int declared at :53
:
:
; %i is variable i of type int declared at :50
; %i is variable i of type int declared at :50
:
function _Z7matmultj

:
:
:
:
:
:
:
:
:
:
:
:
:

I compiled all my source files with -g option. Please let me know if this is the expected output, or is it possible to get more info.

Thanks.
-Apala