llvm-project/clang/test/CodeGenObjC
Rafael Espindola b7f60e3474 Add unnamed_addr when creating artificial string globals. For example, in
static const char foo[] = "foo";
static const char *bar = "bar";

the global created to hold "bar" will have it, but foo will not.

llvm-svn: 123192
2011-01-10 22:34:03 +00:00
..
2008-10-23-invalid-icmp.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
assign.m IRgen: Assignment to Objective-C properties shouldn't reload the value, for 2010-06-29 22:44:21 +00:00
atomic-aggregate-property.m More tests for ObjC++ GC support. 2010-05-19 23:07:54 +00:00
attr-strong.c Update tests to use %clang instead of 'clang', and forcibly disable use of ' 2009-12-15 22:01:24 +00:00
bitfield-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
bitfield-access.m tests: Fix a dependency on the temporary value names. 2010-09-03 00:24:06 +00:00
bitfield-gnu.m Fix for PR8695. 2010-12-26 20:12:30 +00:00
bitfield-ivar-metadata.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
bitfield-ivar-offsets.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
bitfield_encoding.m Fixed Objective-C type encoding for bitfields for the GNU runtime to match the encoding used by GCC. 2010-06-04 01:10:52 +00:00
block-var-layout.m Adding couple of Block API, a bug fix and 2010-11-11 00:11:38 +00:00
blocks-1.m IR Gen. part of API support for __block cxx 2010-12-02 17:02:11 +00:00
blocks-2.m tests: Tweak test to also match MSVC format. 2010-10-07 20:14:30 +00:00
blocks-3.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
blocks-4.m Fix DeclContext of an objective-c @catch variable 2010-02-03 00:01:43 +00:00
blocks-5.m Fixed a block regression caused by trying to use 2010-06-07 19:39:39 +00:00
blocks-ivar-debug.m tests: Avoid spurious use of /dev/null. 2010-05-10 23:31:31 +00:00
blocks.m Fix testsuite for blocks mangling change 2010-05-25 17:46:21 +00:00
category-class.m Trying to make BuildBot happy again (related to PR7431). 2010-06-22 17:08:32 +00:00
category-super-class-meth.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
class-getter-dotsyntax.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
class-type.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
compatibility-alias.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
complex-property.m Fix a code gen. bug involving generation of getter method 2010-03-25 21:56:43 +00:00
constant-string-class.m This patch implements Next's IRGen for -fconstant-string-class=class-name. 2010-10-19 17:19:29 +00:00
constant-strings.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
continuation-class.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
deadcode_strip_used_var.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
debug-info-crash.m merge another one in. 2010-01-25 03:38:26 +00:00
debug-info-default-synth-ivar.m Fold -fobjc-nonfragile-abi2 into -fobjc-nonfragile-abi. 2011-01-04 20:05:20 +00:00
debug-info-fnname.m test case for r118726. 2010-11-10 22:19:57 +00:00
debug-info-getter-name.m Fold -fobjc-nonfragile-abi2 into -fobjc-nonfragile-abi. 2011-01-04 20:05:20 +00:00
debug-info-linkagename.m Robustify test. 2010-08-25 17:32:22 +00:00
debug-info-self.m Attach aritifical attribute with implicit parameters. 2010-09-29 23:09:21 +00:00
default-property-synthesis.m Fold -fobjc-nonfragile-abi2 into -fobjc-nonfragile-abi. 2011-01-04 20:05:20 +00:00
dot-syntax-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
dot-syntax-2.m When using property-dot assignment syntax to call a setter method, 2010-06-07 22:02:01 +00:00
dot-syntax.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
encode-cstyle-method.m Implement method type encoding in the presense 2010-04-08 21:29:11 +00:00
encode-test-2.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
encode-test-3.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
encode-test-4.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
encode-test-5.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
encode-test.m IRgen/Obj-C: Fix encoding of "long double". 2010-10-11 21:13:48 +00:00
exceptions-nonfragile.m Coding by inspection has its problems. 2010-10-16 16:34:08 +00:00
exceptions.m In the fragile ObjC ABI, save the caught exception to the side if there are 2010-10-04 23:42:51 +00:00
for-in.m Patch to issue warning when colllection expresion's type 2010-08-12 22:25:42 +00:00
forward-class-impl-metadata.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
fpret.m IRgen: Add a test case I forgot to commit at some point. 2010-07-19 17:11:38 +00:00
gnu-exceptions.m Revise cleanup IR generation to fix a major bug with cleanups (PR7686) 2010-07-23 21:56:41 +00:00
hidden-visibility.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
hidden.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
id-isa-codegen.m Fix the test some more. 2010-03-09 22:17:52 +00:00
image-info.m IRgen/NeXT: Reuse EmitImageInfo for both fragile and non-fragile ABI. This fixes Clang to correctly emit the "CorrectedSynthesize" bit when using the non-fragile ABI. 2010-04-25 20:39:01 +00:00
implicit-objc_msgSend.m Restore patch reversed in r118475. Fixes 2010-11-09 21:38:20 +00:00
implicit-property.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
interface-layout-64.m ivars craeted for explicit @synthesize and those 2010-12-15 23:29:04 +00:00
interface.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
ivar-layout-64-bitfields.m _Bool is not a keyword in C++. Fixes PR7388 and PR8349. 2010-10-13 20:00:38 +00:00
ivar-layout-64.m More tests for ObjC++ GC support. 2010-05-19 23:07:54 +00:00
ivar-layout-array0-struct.m Consider zero-length array of structs when 2011-01-03 19:23:18 +00:00
ivar-layout-no-optimize.m More tests for ObjC++ GC support. 2010-05-19 23:07:54 +00:00
ivar-layout-nonfragile-abi2.m Fold -fobjc-nonfragile-abi2 into -fobjc-nonfragile-abi. 2011-01-04 20:05:20 +00:00
ivars.m LastFieldBitfield in CGObjCCommonMac::BuildAggrIvarLayout keeps bitfields or unnamed fields but later the code 2010-09-06 12:00:10 +00:00
link-errors.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
local-static-block.m Local static block variable referecned in its 2010-09-07 23:26:17 +00:00
message-arrays.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
messages-2.m Canonicalize parameter and return types before computing ABI info. Eliminates 2010-02-24 07:14:12 +00:00
messages.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
metadata-symbols-32.m and revert the related tests, too 2010-07-19 22:53:57 +00:00
metadata-symbols-64.m Revert "Re-apply fixed version of 108749, correctly conditionalizing the new 2010-07-29 22:57:21 +00:00
metadata_symbols.m Revert "Re-apply fixed version of 108749, correctly conditionalizing the new 2010-07-29 22:57:21 +00:00
missing-atend-metadata.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
nested-rethrow.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
newproperty-nested-synthesis-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
next-objc-dispatch.m NeXT: Clean up dispatch method policy selection. 2010-04-24 17:56:46 +00:00
no-category-class.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
non-lazy-classes.m tests: Force a triple. 2010-04-26 10:58:19 +00:00
ns-constant-strings.m Test case for NeXt's -fno-constant-cfstrings option. 2010-04-26 17:59:24 +00:00
objc-align.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
objc-assign-ivar.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
objc-gc-aggr-assign.m Changed test to use FileCheck. 2010-05-21 16:13:37 +00:00
objc-read-weak-byref.m update a bunch of tests that are using the x86 backend instead of grepping IR :( 2010-09-22 06:09:31 +00:00
objc2-assign-global.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
objc2-ivar-assign.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
objc2-legacy-dispatch.m NeXT: Clean up dispatch method policy selection. 2010-04-24 17:56:46 +00:00
objc2-new-gc-api-strongcast.m More Objective-C++ GC tests. 2010-05-20 18:22:28 +00:00
objc2-no-strong-cast.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
objc2-no-write-barrier.m More Objective-C++ GC tests. 2010-05-20 18:22:28 +00:00
objc2-nonfragile-abi-impl.m Fold -fobjc-nonfragile-abi2 into -fobjc-nonfragile-abi. 2011-01-04 20:05:20 +00:00
objc2-property-encode.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
objc2-protocol-enc.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
objc2-retain-codegen.m More Objective-C++ GC tests. 2010-05-20 18:22:28 +00:00
objc2-strong-cast-1.m More Objective-C++ GC tests. 2010-05-20 18:22:28 +00:00
objc2-strong-cast.m More Objective-C++ GC tests. 2010-05-20 18:22:28 +00:00
objc2-weak-assign.m More Objective-C++ GC tests. 2010-05-20 18:22:28 +00:00
objc2-weak-block-call.m update a bunch of tests that are using the x86 backend instead of grepping IR :( 2010-09-22 06:09:31 +00:00
objc2-weak-compare.m More Objective-C++ GC tests. 2010-05-20 18:22:28 +00:00
objc2-weak-import-attribute.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
objc2-weak-ivar-debug.m More Objective-C++ GC tests. 2010-05-20 18:22:28 +00:00
objc2-weak-ivar.m More Objective-C++ GC tests. 2010-05-20 18:22:28 +00:00
objc2-write-barrier-2.m More Objective-C++ GC tests. 2010-05-20 18:22:28 +00:00
objc2-write-barrier-3.m More Objective-C++ GC tests. 2010-05-20 18:22:28 +00:00
objc2-write-barrier-4.m More Objective-C++ GC tests. 2010-05-20 18:22:28 +00:00
objc2-write-barrier-5.m More Objective-C++ GC tests. 2010-05-20 18:22:28 +00:00
objc2-write-barrier.m More Objective-C++ GC tests. 2010-05-20 18:22:28 +00:00
object-incr-decr-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
overloadable.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
predefined-expr.m Add unnamed_addr when creating artificial string globals. For example, in 2011-01-10 22:34:03 +00:00
property-aggr-type.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
property-agrr-getter.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
property-category-impl.m Fixes a problem in generation of meta-data for 2010-06-22 16:33:55 +00:00
property-complex.m Fix test. 2010-05-11 18:48:13 +00:00
property-dbg.m stop looking for #uses comments. 2010-09-02 22:48:26 +00:00
property-getter-dot-syntax.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
property-incr-decr-1.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
property-list-in-class.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
property-ref-cast-to-void.m Casting of a property reference to 'void' did not 2010-09-04 19:49:18 +00:00
property-setter-attr.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
property.m Do unary conversions on vararg arguments and *then* special-case float. 2010-12-06 18:36:11 +00:00
protocol-in-extended-class.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
protocol-property-synth.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
protocols-lazy.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
protocols.m Correctly generate IR for ObjC messages sends to protocol-qualified types. 2010-05-17 20:12:43 +00:00
return-objc-object.mm IRGen support for functions returning objc object 2010-08-11 17:37:35 +00:00
runtime-fns.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
sel-as-builtin-type.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
stand-alone-implementation.m Patch removes IVars list from ObjCInterfaceDecl and 2010-02-19 00:31:17 +00:00
super-classmethod-category.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
super-dotsyntax-property.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
super-dotsyntax-struct-property.m Return type of a setter call caused by 2010-07-24 00:34:08 +00:00
super-message-fragileabi.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
synchronized.m Some more correctness fixes and code-size optimizations for fragile-ABI 2010-08-04 05:59:32 +00:00
synthesize_ivar-cont-class.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
synthesize_ivar.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
try.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
undefined-protocol.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
unname-bf-metadata.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
unwind-fn.m When re-raising an exception after a cleanup, we need to call _Unwind_Resume_or_Rethrow 2010-08-11 20:59:53 +00:00
variadic-sends.m Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. 2009-12-15 20:14:24 +00:00
x86_64-struct-return-gc.m now that we have CGT around, we can start using preferred types 2010-07-29 04:46:19 +00:00