diff options
author | Dan Gohman <gohman@apple.com> | 2010-10-14 22:36:56 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-10-14 22:36:56 +0000 |
commit | 10169b94cfe6838f881339f1944891f6d8451174 (patch) | |
tree | 777235d62bf849ab4f3e9a3cbb925ac98bf63515 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | f4776590402a62ff1517aa07f2d1e7284b80a5bc (diff) | |
download | bcm5719-llvm-10169b94cfe6838f881339f1944891f6d8451174.tar.gz bcm5719-llvm-10169b94cfe6838f881339f1944891f6d8451174.zip |
Wire up the -fstrict-aliasing and -fno-strict-aliasing options
to CodeGenOption flags.
llvm-svn: 116530
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index 3a928a520da..fd9b6359972 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -858,6 +858,7 @@ static void ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, Opts.LimitDebugInfo = Args.hasArg(OPT_flimit_debug_info); Opts.DisableLLVMOpts = Args.hasArg(OPT_disable_llvm_optzns); Opts.DisableRedZone = Args.hasArg(OPT_disable_red_zone); + Opts.RelaxedAliasing = Args.hasArg(OPT_relaxed_aliasing); Opts.DwarfDebugFlags = Args.getLastArgValue(OPT_dwarf_debug_flags); Opts.MergeAllConstants = !Args.hasArg(OPT_fno_merge_all_constants); Opts.NoCommon = Args.hasArg(OPT_fno_common); |