[LLVMbugs] [Bug 14152] New: debug info for MACRO not produced

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Oct 23 04:32:34 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=14152

             Bug #: 14152
           Summary: debug info for MACRO not produced
           Product: clang
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: olga.a.chupina at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 9404
  --> http://llvm.org/bugs/attachment.cgi?id=9404
bitcode file

Consider the test:

$ cat test2.c 
#define ADD1(x) (x+1)
int n = 0;
int main(int argc) {
    int n = ADD1(argc);
    return n;
}

Macro ADD1 is not mentioned in debug info for test2.c. Are there any plans on
adding debug info for macros in clang?

Compilation line: clang -g -O0 test2.c -emit-llvm -o test2.bc -S


Olga Chupina
---
Software Engineer
Intel Compiler Team
Intel Corp.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list