Jordan Rose
2c13b2e6fe
Remove SwiftASTStreamerPass and the LegacyDebugInfo option.
...
Finishes the removal of the old "wrapped" module section that was made
unnecessary in r12922/3. Now that we no longer use the old compiler, we
don't need this at all. That also removes the need for SwiftTargetMachine.
No functionality change; this was all dead code.
Swift SVN r14758
2014-03-06 22:05:03 +00:00
Mark Lacey
9fde7f17cc
Add DisableFPElim to IRGenOptions.
...
Use this to initialize the llvm::TargetOptions for code generation.
Swift SVN r13130
2014-01-30 00:26:57 +00:00
Connor Wakamo
38e1fd44af
[frontend] Added support for -disable-llvm-arc-opts.
...
Adjusted how this option is handled: it is now set in IRGenOptions. If set,
this prevents the relevant passes from being added at all, instead of making
them no-ops.
Swift SVN r13005
2014-01-27 21:22:46 +00:00
Jordan Rose
be0a303c7d
[DebugInfo] Only write an AST into the object file with the current compiler.
...
i.e. not the new driver/frontend. That one will insert it as part of linking.
Swift SVN r12923
2014-01-24 18:42:07 +00:00
Joe Groff
c7a8b4f1a5
IRGen: Emit unchecked operations for checked builtins with -disable-all-runtime-checks.
...
Emit checked arithmetic and conversion instructions as unchecked LLVM IR when runtime checks are disabled.
Swift SVN r12592
2014-01-20 18:01:02 +00:00
Adrian Prantl
395bd1eede
Debug info: record the module name in DWARF. For the time being this is
...
done via an DW_TAG_imported_module.
rdar://problem/15711613.
Swift SVN r12035
2014-01-08 02:34:29 +00:00
Connor Wakamo
59f18f9fc0
Renamed irgen::Options and irgen::OutputKind to IRGenOptions and IRGenOutputKind, and move both out of the irgen namespace now that they're in swiftAST.
...
Swift SVN r11405
2013-12-18 01:17:09 +00:00
Connor Wakamo
3e81830385
Move "include/swift/IRGen/Options.h" to "include/swift/AST/IRGenOptions.h".
...
This commit only moves the header file; updating the class so that it is no longer in the irgen namespace will be handled separately.
Swift SVN r11404
2013-12-18 01:17:09 +00:00