https://llvm.org/bugs/show_bug.cgi?id=26304
Bug ID: 26304 Summary: [X86] Omit frame pointer even with -fno-emit-frame-pointer if there are no locals Product: libraries Version: trunk Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: Backend: X86 Assignee: unassignedb...@nondot.org Reporter: h...@chromium.org CC: llvm-bugs@lists.llvm.org Blocks: 26299 Classification: Unclassified For this example: int g(int); int f() { return g(42); } even with /Oy- MSVC will not set ebp: _f: 00000000: 6A 2A push 2Ah 00000002: E8 00 00 00 00 call _g 00000007: 59 pop ecx 00000008: C3 ret whereas Clang does. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs