- Mar 13, 2013
-
-
Matt Beaumont-Gay authored
llvm-svn: 176912
-
Matt Beaumont-Gay authored
This was tickled by a Clang diagnostic; Clang test case to follow. llvm-svn: 176911
-
David Blaikie authored
llvm-svn: 176910
-
Michael J. Spencer authored
Patch by Paul Robinson. llvm-svn: 176908
-
David Blaikie authored
This could be 'null' or the empty string, DIDescriptor::getStringField coalesces the two cases anyway so it's just a matter of legible/efficient representation. The change in behavior of the DICompileUnit::get* functions could be subsumed by the full verification check - but ideally that should just be an assertion if we could front-load the actual debug info metadata failure paths. llvm-svn: 176907
-
Fariborz Jahanian authored
for existence of user setter before issuing the warning about non-synthesizable property. // rdar://13388503 llvm-svn: 176906
-
Ted Kremenek authored
Make modules.m test portable, now that autolinking is dependent on whether or not the target uses the integrated assembler. llvm-svn: 176902
-
Adrian Prantl authored
llvm-svn: 176901
-
Tobias Grosser authored
In my previous commits I failed to realise that my new requires lines fully disabled these tests. We now properly check if we are in an asserts build and only disable the tests if assertions are not available. Reported-by:Sean Silva <silvas@purdue.edu> llvm-svn: 176900
-
Sean Callanan authored
uninitialized memory, to getTrivialTypeSourceInfo, which initializes its memory, when creating trivial TypeSourceInfos. <rdar://problem/13332253> llvm-svn: 176899
-
Arnold Schwaighofer authored
Increase the cost of v8/v16-i8 to v8/v16-i32 casts and truncates as the backend currently lowers those using stack accesses. This was responsible for a significant degradation on MultiSource/Benchmarks/Trimaran/enc-pc1/enc-pc1 where we vectorize one loop to a vector factor of 16. After this patch we select a vector factor of 4 which will generate reasonable code. unsigned char cle[32]; void test(short c) { unsigned short compte; for (compte = 0; compte <= 31; compte++) { cle[compte] = cle[compte] ^ c; } } radar://13220512 llvm-svn: 176898 -
Ted Kremenek authored
Fixes <rdar://problem/13289240> llvm-svn: 176897
-
Rafael Espindola authored
llvm-svn: 176896
-
Adrian Prantl authored
differentiate multiple inlined call sites on the same line in the debug info. Fixes rdar://problem/13036237 llvm-svn: 176895
-
Jim Grosbach authored
-ccc-install-dir is supposed to cause the compiler to behave as-if it were installed in the indicated location. It almost does, but misses anything that's relying on the resource directory (libc++ header search, in particular). The resource dir is resolved too early, before command line args are handled. The fix is simply to move handling of the resource dir until after we know if a -ccc-install-dir is present. rdar://13402696 llvm-svn: 176894
-
Manman Ren authored
llvm-svn: 176893
-
Bob Wilson authored
This reverts commit 176887. Nico asked for more time to move to Xcode 4.6. llvm-svn: 176892
-
Richard Smith authored
implement correct functionality, even if it's not optimal. On this basis, mark "data dependency ordering" as done. Add footnotes for cases where our implementation is known to be suboptimal. llvm-svn: 176891
-
Rafael Espindola authored
llvm-svn: 176890
-
Fariborz Jahanian authored
when property autosynthesis does not synthesize a property. When property is declared 'readonly' in a super class and is redeclared 'readwrite' in a subclass. When a property autosynthesis causes it to share 'ivar' with another property. // rdar://13388503 llvm-svn: 176889
-
Rafael Espindola authored
llvm-svn: 176888
-
Bob Wilson authored
Those changes were added as a temporary workaround for Xcode 4.5 passing the -Wno-arc-abi option. Xcode 4.6 does not pass that option so this should no longer be necessary. llvm-svn: 176887
-
Michael J. Spencer authored
This gives us memory mapped file I/O on Windows. llvm-svn: 176886
-
David Blaikie authored
Code review feedback on r176838 by Patrik Hägglund. llvm-svn: 176884
-
John Thompson authored
llvm-svn: 176883
-
Manman Ren authored
belongs to a different compile unit. DW_FORM_ref_addr should be used for cross compile-unit reference. When compiling a large application, we got a dwarfdump verification error where abstract_origin points to nowhere. This error can't be reproduced on any testing case in MultiSource. We may have other cases where we use DW_FORM_ref4 unconditionally. rdar://problem/13370501 llvm-svn: 176882
-
Richard Relph authored
llvm-svn: 176881
-
Kevin Enderby authored
return 0 to indicate failure to create the disassembler. A library routine should not assert and just let the caller handler the error. For example darwin's otool(1) will simply print an error if it ends up using a library that is not configured for a target it wants: % otool -tv ViewController.o ViewController.o: (__TEXT,__text) section can't create arm llvm disassembler This is much better than an abort which appears as a crash to the user or even the assert when using a Debug+Asserts built library: Assertion failed: (MAI && "Unable to create target asm info!"), function LLVMCreateDisasmCPU, file /Volumes/SandBox/llvm/lib/MC/MCDisassembler/Disassembler.cpp, line 47. radr://12539918 llvm-svn: 176880
-
Matt Kopec authored
llvm-svn: 176879
-
Fariborz Jahanian authored
llvm-svn: 176878
-
Pete Cooper authored
This pass is meant to be immutable, however it holds mutable state to cache StructLayouts. This method will allow the pass manager to clear the mutable state between runs. Note that unfortunately it is still necessary to have the destructor, even though it does the same thing as doFinalization. This is because most TargetMachines embed a DataLayout on which doFinalization isn't run as its never added to the pass manager. I also didn't think it was necessary to complication things with a deInit method for which doFinalization and ~DataLayout both call as there's only one field of mutable state. If we had more fields to finalize i'd have added this. llvm-svn: 176877
-
Ted Kremenek authored
Per comment from Benjamin Kramer, this isn't portable (yet). I'll come up with a better fix. llvm-svn: 176876
-
Rafael Espindola authored
extern "C" { void test5_f() { extern int test5_b; } } static float test5_b; This patch makes us report one for extern "C" { void test6_f() { extern int test6_b; } } extern "C" { static float test6_b; } Not because we think the declaration would be extern C, but because of the rule: An entity with C language linkage shall not be declared with the same name as an entity in global scope... We were just not looking past the extern "C" to see if the decl was in global scope. llvm-svn: 176875 -
Alexander Kornienko authored
Summary: Handle "&&" usage as rvalue reference, added tests and fixed incorrect tests that interfere with this feature. http://llvm.org/bugs/show_bug.cgi?id=15051 Reviewers: djasper Reviewed By: djasper CC: cfe-commits, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D531 llvm-svn: 176874
-
Jan Wen Voung authored
llvm-svn: 176873
-
Dan Gohman authored
that they're more consistent with Value::replaceAllUsesWith. llvm-svn: 176872
-
Sean Silva authored
llvm-svn: 176871
-
- Mar 12, 2013
-
-
Fariborz Jahanian authored
llvm-svn: 176870
-
Rafael Espindola authored
This fixes a crash in namespace { struct X {}; } extern "C" X test2_b; X test2_b before we would assign different linkages to each of the test2_b decls. llvm-svn: 176869 -
Hal Finkel authored
Now that only the register-scavenger version of the CR spilling code remains, we no longer need the Darwin R2 hack. Darwin can use R0 as a spare register in any case where the System V ABI uses it (R0 is special architecturally, and so is reserved under all common ABIs). A few test cases needed to be updated to reflect the register-allocation changes. llvm-svn: 176868
-