[LLVMdev] -fomit-frame-pointer on intel darwin

Eric Christopher echristo at apple.com
Mon Aug 16 11:07:06 PDT 2010


On Aug 16, 2010, at 7:59 AM, Jack Howarth wrote:

> Despite the absence of testsuite failures at -m32 or -m64 on either
> i386-apple-darwin10 or x86_64-apple-darwin10, there are still some concerns
> about the origins of the original Mach-O comment above. There also was
> a concern that -fomit-frame-pointer would break Shark but my testing in
> darwin10 suggests it still can profile code via the dwarf2. Thanks in
> advance for any clarifications on the reasoning behind the original code.

That's a long time ago :)

At the time we needed to use the frame pointer instead of the eh frame information.  If it works for you now I don't see any harm in turning it on.

-eric



More information about the llvm-dev mailing list