[LLVMdev] Clang/LLVM 3.3 unwanted attributes being added: NoFramePointerElim

Dan westdac at gmail.com
Wed Jul 24 23:16:00 PDT 2013


Since updating to LLVM 3.3, the system is generating attributes such as:

attributes #0 = { nounwind "less-precise-fpmad"="false"
"no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf"="true"
"no-infs-fp-math"="false" "no-nans-fp-math"="false"
"unsafe-fp-math"="false" "use-soft-float"="false" }


I've tried to add options.

I've tracked the code to:

NoFramePointerElim

I've seen the description of:

./lib/Target/TargetMachine.cpp

 RESET_OPTION(NoFramePointerElim, "no-frame-pointer-elim");
  RESET_OPTION(NoFramePointerElimNonLeaf, "no-frame-pointer-elim-non-leaf");
  RESET_OPTION(LessPreciseFPMADOption, "less-precise-fpmad");
  RESET_OPTION(UnsafeFPMath, "unsafe-fp-math");
  RESET_OPTION(NoInfsFPMath, "no-infs-fp-math");
  RESET_OPTION(NoNaNsFPMath, "no-nans-fp-math");
  RESET_OPTION(UseSoftFloat, "use-soft-float");
  RESET_OPTION(DisableTailCalls, "disable-tail-calls");

I cannot find the code or mechanism to turn off: NoFramePointerElim

No code generator has these specialized, so this is happening for all targets.

Any help?



More information about the llvm-dev mailing list