https://bugs.llvm.org/show_bug.cgi?id=34395

            Bug ID: 34395
           Summary: llvm-nm yields no useful information for files
                    compiled with lto
           Product: tools
           Version: 5.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: llvm-nm
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

llvm-nm doesn't returns nothing useful from files compiled with LTO.

If we have the file test.c containing
'''
char a[10];
char b[20];
char c[30];
'''

and run `$CC -flto  -c test.c -o test.o` the result of `llvm-nm -P test.o`
turns out to be the following
'''
a C ---------------- 0
b C ---------------- 0
c C ---------------- 0
'''

I do understand address/offset information being unavailable, but shouldn't
this output encode at least something concerning each symbol's value/size?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to