Doug Gregor
3d3ff6811a
Add a pile of missing #includes exposed by pruning includes in top-of-tree LLVM.
...
Swift SVN r17157
2014-05-01 14:26:34 +00:00
Jordan Rose
d52edd8675
Add -I and -F support to lldb-moduleimport-test.
...
Swift SVN r15751
2014-04-01 21:47:36 +00:00
Jordan Rose
49ec7c1ea1
Use SWIFT_MODULE_CACHE_PATH for all tools.
...
Now that the standard library depends on Clang headers, every single tool
needs to specifically avoid using the default module cache when
SWIFT_MODULE_CACHE_PATH is set.
<rdar://problem/16294222>
Swift SVN r14937
2014-03-12 00:27:24 +00:00
Dmitri Hrybenko
f232267f23
Replace llvm::OwningPtr with std::unique_ptr
...
It looks like llvm::OwningPtr is going to be removed soon.
Swift SVN r14729
2014-03-06 09:47:17 +00:00
Enrico Granata
c0f101bbd9
Realized I had undone one change too many - this should build just fine
...
Swift SVN r13272
2014-02-01 01:24:05 +00:00
Enrico Granata
0f7d446d17
Add a -dump-module option to lldb-moduleimport-test that will dump the module's top level decls after successfully importing
...
Swift SVN r13271
2014-02-01 01:22:04 +00:00
Jordan Rose
76c04132c0
[driver] In -g mode, create the __SWIFT,__ast section used by the debugger.
...
The section contains a copy of the serialized module for the binary.
Swift SVN r12924
2014-01-24 18:42:08 +00:00
Greg Parker
90827fff8a
Honor environment variable SDKROOT.
...
Swift SVN r8524
2013-09-20 22:58:36 +00:00
Adrian Prantl
d7c64060cf
Debug info: Don't copy the memory for a serialized swift module in an __ast
...
section. Thanks to Jordan for pointing this out.
No functionality change.
Swift SVN r8022
2013-09-07 00:44:32 +00:00
Adrian Prantl
e77baa78b7
Rename __DWARF/__apple_ast segment and section to __SWIFT/__ast so the
...
linker doesn't discard it.
Swift SVN r7958
2013-09-05 20:46:34 +00:00
Adrian Prantl
2063a27aea
Relocate Mach-O AST section parsing from SerializedModuleLoader/ to ASTSectionImporter/.
...
Swift SVN r7869
2013-09-03 21:56:53 +00:00
Adrian Prantl
e216617f30
Use portable LLVM header instead of Darwin header.
...
Swift SVN r7857
2013-09-03 20:14:43 +00:00
Adrian Prantl
d929050173
Implement SerializedModuleLoader::addASTSection() to parse AST sections as
...
created by IrGen/SwiftASTStreamerPass.
Swift SVN r7851
2013-09-03 18:09:53 +00:00
Adrian Prantl
f12eca77ea
change formatting.
...
Swift SVN r7772
2013-08-30 00:26:34 +00:00
Adrian Prantl
1da2dc442e
s/Bitstream/MemoryBuffer/g
...
Swift SVN r7770
2013-08-30 00:22:27 +00:00
Dmitri Hrybenko
0d157c8d4c
Prune unused includes
...
Swift SVN r7730
2013-08-29 20:06:25 +00:00
Dmitri Hrybenko
ea41db75e7
lldb-moduleimport-test: replace VLA of char with SmallString,
...
replace iostream with llvm::{outs, errs}
Swift SVN r7729
2013-08-29 18:59:14 +00:00
Dmitri Hrybenko
4ca448273a
lldb-moduleimport-test: no-op whitespace fixes
...
Swift SVN r7727
2013-08-29 18:46:56 +00:00
Adrian Prantl
31c926660f
Extend SerializedModuleLoader to load modules from a bitstream.
...
Add tools/lldb-moduleimport-test, which simulates LLDB importing modules
from the __apple_ast section in Mach-O files and use it to regression-test
the new API.
Swift SVN r7709
2013-08-29 00:57:05 +00:00