#
f54319c8 |
| 18-Jan-2013 |
Will Dietz <wdietz2@illinois.edu> |
[ubsan] Add support for -fsanitize-blacklist
llvm-svn: 172808
|
#
69e47464 |
| 17-Jan-2013 |
Daniel Dunbar <daniel@zuster.org> |
[IRgen] Update modules autolink metadata to use module flags (as now specified in the LangRef).
llvm-svn: 172692
|
#
c60437fb |
| 16-Jan-2013 |
Douglas Gregor <dgregor@apple.com> |
Add -fmodules-autolink/-fno-modules-autolink (defaults to on) so that users can explicitly enable/disable modules autolinking.
llvm-svn: 172592
|
#
0a528db9 |
| 15-Jan-2013 |
David Greene <greened@obbligato.org> |
Fix Const Cast
Do proper casting to avoid a cast-away-const error.
llvm-svn: 172559
|
#
bc25ff46 |
| 14-Jan-2013 |
Douglas Gregor <dgregor@apple.com> |
Topologically sort the link options generated for modules based on module-import dependencies, so we'll get the link order correct for those silly linkers that need it.
llvm-svn: 172459
|
#
1715a2f9 |
| 14-Jan-2013 |
Douglas Gregor <dgregor@apple.com> |
When forming the link options for an imported module, also include the link options for the modules it imports.
llvm-svn: 172448
|
#
ea02f265 |
| 14-Jan-2013 |
Douglas Gregor <dgregor@apple.com> |
Switch autolinking metadata format over to actual linker options, e.g.,
!0 = metadata !{metadata !"-lautolink"} !1 = metadata !{metadata !"-framework", metadata !"autolink_framework"}
reference
Switch autolinking metadata format over to actual linker options, e.g.,
!0 = metadata !{metadata !"-lautolink"} !1 = metadata !{metadata !"-framework", metadata !"autolink_framework"}
referenced from llvm.module.linkoptions, e.g.,
!llvm.module.linkoptions = !{!0, !1, !2, !3}
This conceptually moves the logic for figuring out the syntax the linker will accept from LLVM into Clang. Moreover, it makes it easier to support MSVC's
#pragma comment(linker, "some option")
in the future, should anyone care to do so.
llvm-svn: 172441
show more ...
|
#
6ddfca91 |
| 14-Jan-2013 |
Douglas Gregor <dgregor@apple.com> |
Implement parsing, AST, (de-)serialization, and placeholder global metadata for linking against the libraries/frameworks for imported modules.
The module map language is extended with a new "link" d
Implement parsing, AST, (de-)serialization, and placeholder global metadata for linking against the libraries/frameworks for imported modules.
The module map language is extended with a new "link" directive that specifies what library or framework to link against when a module is imported, e.g.,
link "clangAST"
or
link framework "MyFramework"
Importing the corresponding module (or any of its submodules) will eventually link against the named library/framework.
For now, I've added some placeholder global metadata that encodes the imported libraries/frameworks, so that we can test that this information gets through to the IR. The format of the data is still under discussion.
llvm-svn: 172437
show more ...
|
#
f857950d |
| 12-Jan-2013 |
Dmitri Gribenko <gribozavr@gmail.com> |
Remove useless 'llvm::' qualifier from names like StringRef and others that are brought into 'clang' namespace by clang/Basic/LLVM.h
llvm-svn: 172323
|
#
ffd5551b |
| 02-Jan-2013 |
Chandler Carruth <chandlerc@gmail.com> |
Rewrite #includes for llvm/Foo.h to llvm/IR/Foo.h as appropriate to reflect the migration in r171366.
Re-sort the #include lines to reflect the new paths.
llvm-svn: 171369
|
#
5e85be43 |
| 30-Dec-2012 |
Bill Wendling <isanbard@gmail.com> |
Remove the Function::getFnAttributes method in favor of using the AttributeSet directly.
This is in preparation for removing the use of the 'Attribute' class as a collection of attributes. That will
Remove the Function::getFnAttributes method in favor of using the AttributeSet directly.
This is in preparation for removing the use of the 'Attribute' class as a collection of attributes. That will shift to the AttributeSet class instead.
llvm-svn: 171254
show more ...
|
Revision tags: llvmorg-3.2.0 |
|
#
207f0536 |
| 20-Dec-2012 |
Bill Wendling <isanbard@gmail.com> |
Rename llvm::Attributes to llvm::Attribute.
llvm-svn: 170722
|
#
4442605f |
| 20-Dec-2012 |
Bill Wendling <isanbard@gmail.com> |
Revert r170500. It over-zealously converted *ALL* things named Attributes, which is wrong here.
llvm-svn: 170721
|
#
7967fc14 |
| 19-Dec-2012 |
Bill Wendling <isanbard@gmail.com> |
Rename the 'Attributes' class to 'Attribute'. It's going to represent a single attribute in the future.
llvm-svn: 170500
|
#
49954ca0 |
| 12-Dec-2012 |
John McCall <rjmccall@apple.com> |
Rewrite calls to bitcast unprototyped functions when emitting a definition.
My variadics patch, r169588, changed these calls to typically be bitcasts rather than calls to a supposedly variadic funct
Rewrite calls to bitcast unprototyped functions when emitting a definition.
My variadics patch, r169588, changed these calls to typically be bitcasts rather than calls to a supposedly variadic function. This totally subverted a hack where we intentionally dropped excess arguments from such calls in order to appease the inliner and a "warning" from the optimizer. This patch extends the hack to also work with bitcasts, as well as teaching it to rewrite invokes.
llvm-svn: 170034
show more ...
|
#
3087d026 |
| 07-Dec-2012 |
Bill Wendling <isanbard@gmail.com> |
s/AttrListPtr/AttributeSet/g to better label what this class is going to be in the near future.
llvm-svn: 169652
|
Revision tags: llvmorg-3.2.0-rc3 |
|
#
3a02247d |
| 04-Dec-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Sort all of Clang's files under 'lib', and fix up the broken headers uncovered.
This required manually correcting all of the incorrect main-module headers I could find, and running the new llvm/util
Sort all of Clang's files under 'lib', and fix up the broken headers uncovered.
This required manually correcting all of the incorrect main-module headers I could find, and running the new llvm/utils/sort_includes.py script over the files.
I also manually added quite a few missing headers that were uncovered by shuffling the order or moving headers up to be main-module-headers.
llvm-svn: 169237
show more ...
|
#
9c1b9f60 |
| 03-Dec-2012 |
Alexey Samsonov <samsonov@google.com> |
Fix PR14474: don't emit debug info for interface types in -gline-tables-only mode.
llvm-svn: 169138
|
Revision tags: llvmorg-3.2.0-rc2 |
|
#
0a154d04 |
| 20-Nov-2012 |
Bill Wendling <isanbard@gmail.com> |
Update method calls to the new interface re r168354.
llvm-svn: 168355
|
Revision tags: llvmorg-3.2.0-rc1 |
|
#
43f9d9c6 |
| 05-Nov-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Rename LangOptions members for address sanitizer and thread sanitizer from *Sanitizer to Sanitize* in preparation for later patches.
llvm-svn: 167405
|
#
4e172067 |
| 01-Nov-2012 |
Quentin Colombet <qcolombet@apple.com> |
Update the front end to use minsize attribute
llvm-svn: 167266
|
#
ee3e0fb6 |
| 29-Oct-2012 |
Quentin Colombet <qcolombet@apple.com> |
Revert commit r166946
llvm-svn: 166957
|
#
0d6b5e5f |
| 29-Oct-2012 |
Quentin Colombet <qcolombet@apple.com> |
Make forcesizeopt attribute available to the end user
llvm-svn: 166946
|
#
9dd2e087 |
| 26-Oct-2012 |
Fariborz Jahanian <fjahanian@apple.com> |
Add comment for my patch in r166809.
llvm-svn: 166823
|
#
2d26c29e |
| 26-Oct-2012 |
Fariborz Jahanian <fjahanian@apple.com> |
objective-C IRGen: for @implementation nested in extern "C", its method definitions must be IRGen'ed before meta-data for class is generated. Otherwise, IRGen crashes (to say the least). // rdar://1
objective-C IRGen: for @implementation nested in extern "C", its method definitions must be IRGen'ed before meta-data for class is generated. Otherwise, IRGen crashes (to say the least). // rdar://12581683
llvm-svn: 166809
show more ...
|