[llvm-bugs] [Bug 49691] New: The order of the function differs with or w/o -g
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Mar 23 01:05:34 PDT 2021
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: unassignedclangbugs at nondot.org
Reporter: chenzhiwei03 at kuaishou.com
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
neeilans at live.com, richard-llvm at metafoo.co.uk
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210323/e71680ac/attachment.html>
More information about the llvm-bugs
mailing list