This code has been `#if 0`'ed out for a very long time. After speaking
with Duncan, opt to remove it even if it is something which should be
fixed. If the underlying issue is still valid, this can be restored
with proper explanation and tests.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@312618
91177308-0d34-0410-b5e6-
96231b3b80d8
// by default.
if (TC.getArch() == llvm::Triple::le32)
CmdArgs.push_back("-fno-math-builtin");
-
-#if 0
- // Default to -fno-builtin-str{cat,cpy} on Darwin for ARM.
- //
- // FIXME: Now that PR4941 has been fixed this can be enabled.
- if (T.isOSDarwin() && (TC.getArch() == llvm::Triple::arm ||
- TC.getArch() == llvm::Triple::thumb)) {
- if (!Args.hasArg(options::OPT_fbuiltin_strcat))
- CmdArgs.push_back("-fno-builtin-strcat");
- if (!Args.hasArg(options::OPT_fbuiltin_strcpy))
- CmdArgs.push_back("-fno-builtin-strcpy");
- }
-#endif
}
static void RenderModulesOptions(Compilation &C, const Driver &D,