| #
6bd2a89d |
| 25-Jan-2013 |
John McCall <[email protected]> |
The standard ARM C++ ABI dictates that inline functions are never key functions. We did not implement that rule for the iOS ABI, which was driven by what was implemented in gcc-4.2. However, impleme
The standard ARM C++ ABI dictates that inline functions are never key functions. We did not implement that rule for the iOS ABI, which was driven by what was implemented in gcc-4.2. However, implement it now for other ARM-based platforms.
llvm-svn: 173515
show more ...
|
| #
359b885e |
| 25-Jan-2013 |
John McCall <[email protected]> |
First pass at abstracting out a class for the target C++ ABI.
llvm-svn: 173514
|
| #
ce2f9c5c |
| 23-Jan-2013 |
Bill Wendling <[email protected]> |
Remove the last of uses that use the Attribute object as a collection of attributes.
Collections of attributes are handled via the AttributeSet class now. This finally frees us up to make significan
Remove the last of uses that use the Attribute object as a collection of attributes.
Collections of attributes are handled via the AttributeSet class now. This finally frees us up to make significant changes to how attributes are structured.
llvm-svn: 173229
show more ...
|
| #
9a677929 |
| 23-Jan-2013 |
Bill Wendling <[email protected]> |
Use the AttributeSet when adding multiple attributes and an Attribute::AttrKind when adding a single attribute to the function.
llvm-svn: 173211
|
| #
b7abb30d |
| 21-Jan-2013 |
Bill Wendling <[email protected]> |
Have AttributeSet::getRetAttributes() return an AttributeSet instead of Attribute.
This further restricts the use of the Attribute class to the Attribute family of classes.
llvm-svn: 173099
|
| #
304f6f0a |
| 21-Jan-2013 |
Bill Wendling <[email protected]> |
Make AttributeSet::getFnAttributes() return an AttributeSet instead of an Attribute.
This is more code to isolate the use of the Attribute class to that of just holding one attribute instead of a co
Make AttributeSet::getFnAttributes() return an AttributeSet instead of an Attribute.
This is more code to isolate the use of the Attribute class to that of just holding one attribute instead of a collection of attributes.
llvm-svn: 173095
show more ...
|
| #
63ffde57 |
| 18-Jan-2013 |
Bill Wendling <[email protected]> |
Use the AttributeSet query method instead of the Attribute method.
llvm-svn: 172849
|
| #
f54319c8 |
| 18-Jan-2013 |
Will Dietz <[email protected]> |
[ubsan] Add support for -fsanitize-blacklist
llvm-svn: 172808
|
| #
69e47464 |
| 17-Jan-2013 |
Daniel Dunbar <[email protected]> |
[IRgen] Update modules autolink metadata to use module flags (as now specified in the LangRef).
llvm-svn: 172692
|
| #
c60437fb |
| 16-Jan-2013 |
Douglas Gregor <[email protected]> |
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 <[email protected]> |
Fix Const Cast
Do proper casting to avoid a cast-away-const error.
llvm-svn: 172559
|
| #
bc25ff46 |
| 14-Jan-2013 |
Douglas Gregor <[email protected]> |
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 <[email protected]> |
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 <[email protected]> |
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 <[email protected]> |
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 <[email protected]> |
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 <[email protected]> |
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 <[email protected]> |
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 <[email protected]> |
Rename llvm::Attributes to llvm::Attribute.
llvm-svn: 170722
|
| #
4442605f |
| 20-Dec-2012 |
Bill Wendling <[email protected]> |
Revert r170500. It over-zealously converted *ALL* things named Attributes, which is wrong here.
llvm-svn: 170721
|
| #
7967fc14 |
| 19-Dec-2012 |
Bill Wendling <[email protected]> |
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 <[email protected]> |
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 <[email protected]> |
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 <[email protected]> |
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 <[email protected]> |
Fix PR14474: don't emit debug info for interface types in -gline-tables-only mode.
llvm-svn: 169138
|