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

            Bug ID: 49691
           Summary: The order of the function differs with or w/o -g
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]

Created attachment 24685
  --> https://bugs.llvm.org/attachment.cgi?id=24685&action=edit
re.cpp

How to produce:

$ clang++ -S -emit-llvm re.cpp -o dbg.ll -g
$ clang++ -S -emit-llvm re.cpp -o rel.ll

Then diff the content of dbgl.ll and rel.ll

Found that the ctor of Re3 (_ZN6extend3re33Re3C2Ev) precedes before the another
funciton in rel.ll file, but the order changes in dbg.ll

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

Reply via email to