- Jun 12, 2014
-
-
Greg Clayton authored
<rdar://problem/17238093> llvm-svn: 210718
-
Zachary Turner authored
This destructor is run as part of static program termination, and so all ManagedStatics (including this lock) will have been destroyed by llvm_shutdown. Furthermore, if there is actually a race condition during static program termination, then we are just hiding a bug somewhere else, because other threads should not be running at this point. llvm-svn: 210717
-
Rafael Espindola authored
llvm-svn: 210716
-
Hans Wennborg authored
Current MSVC versions don't have move assignment operators, so we can't rely on them being available in the dll. If we have the definition, we can just use that directly. This breaks pointer equality, but should work fine otherwise. When there is an MSVC version that supports move assignment, we can key this off the -fmsc-ver option. http://reviews.llvm.org/D4105 llvm-svn: 210715
-
Rafael Espindola authored
llvm-svn: 210714
-
Reid Kleckner authored
I wasn't able to figure out how to emit this diagnostic from a SFINAE context, so I don't have a test. llvm-svn: 210713
-
Rafael Espindola authored
This will allow inlining get_magic, which should in turn fix one of the mingw build problems after the switch to std::error_code. llvm-svn: 210712
-
Rui Ueyama authored
Because the files in Core actually depend on these files. Differential Revision: http://reviews.llvm.org/D4000 llvm-svn: 210710
-
Juergen Ributzka authored
llvm-svn: 210709
-
Hans Wennborg authored
It didn't handle the in-class member initializer and compound literal. llvm-svn: 210707
-
Fariborz Jahanian authored
for function/methods returning block in MRR mode as well. // rdar://17259812 llvm-svn: 210706
-
Chad Rosier authored
Patch by Dave Estes<cestes@codeaurora.org> Differential Revision: http://reviews.llvm.org/D4008 llvm-svn: 210705
-
Rafael Espindola authored
We have to look for both std::make_error_code as well as our overloads. llvm-svn: 210704
-
Tom Stellard authored
We weren't doing this before, so all instruction using the *Helper classes were considered for any ALU slot. This fixes a hang in the builtin-char-clz-1.0.generated.cl piglit test. llvm-svn: 210703
-
Tom Stellard authored
llvm-svn: 210702
-
Jim Grosbach authored
Previously we would always print the offset as decimal, regardless of the formatting requested. Now we use the formatImm() helper so the value is printed as the client (LLDB in the motivating example) requested. Before: ldr.w r8, [sp, #180] @ always After: ldr.w r8, [sp, #0xb4] @ when printing hex immediates ldr.w r8, [sp, #0180] @ when printing decimal immediates rdar://17237103 llvm-svn: 210701
-
Jim Grosbach authored
Previously there was a separate mode entirely (--hdis vs. --disassemble). It makes a bit more sense for the immediate printing style to be a flag for --disassmeble rather than an entirely different thing. llvm-svn: 210700
-
Bob Wilson authored
llvm-svn: 210699
-
Rui Ueyama authored
llvm-svn: 210697
-
Richard Smith authored
non-literal class type. llvm-svn: 210696
-
Hans Wennborg authored
(It's also allowed with /EP, but we haven't implemented that option yet.) llvm-svn: 210695
-
Bob Wilson authored
llvm-svn: 210693
-
Matt Arsenault authored
This is the same problem fixed in r210664 for more types. The test passes without this fix. For some reason I'm only hitting this when creating selects lowered to v2i32 selects. llvm-svn: 210692
-
Aaron Ballman authored
The automated server-side process isn't quite right yet, so this is a newly-generated attribute reference. Tanya is looking into the server process when she gets the chance. llvm-svn: 210691
-
Fariborz Jahanian authored
a fix to make it work when CFStructs have no definition. // rdar://17238954. llvm-svn: 210690
-
Rafael Espindola authored
This is an update for a llvm api change. llvm-svn: 210689
-
Rafael Espindola authored
This is an update for a llvm api change. llvm-svn: 210688
-
Rafael Espindola authored
The idea of this patch is to turn llvm/Support/system_error.h into a transitional header that just brings in the erorr_code api to the llvm namespace. I will remove it shortly afterwards. The cases where the general idea needed some tweaking: * std::errc is a namespace in msvc, so we cannot use "using std::errc". I could add an #ifdef, but there were not that many uses, so I just added std:: to them in this patch. * Template specialization had to be moved to the std namespace in this patch set already. * The msvc implementation of default_error_condition doesn't seem to provide the same transformations as we need. Not too surprising since the standard doesn't actually say what "equivalent" means. I fixed the problem by keeping our old mapping and using it at error_code construction time. Despite these shortcomings I think this is still a good thing. Some reasons: * The different implementations of system_error might improve over time. * It removes 925 lines of code from llvm already. * It removes 6313 bytes from the text segment of the clang binary when it is built with gcc and 2816 bytes when building with clang and libstdc++. llvm-svn: 210687
-
Kaelyn Takata authored
Also move the constructor for NamespaceSpecifierSet out of line to improve the class' readability. I meant to do these two things while cleaning up the previous TypoCorrectionConsumer changes and have them folded into those changes. No functionality changed. llvm-svn: 210686
-
Chad Rosier authored
intended. llvm-svn: 210685
-
Chad Rosier authored
llvm-svn: 210684
-
Matt Arsenault authored
llvm-svn: 210683
-
Ed Maste authored
llvm-svn: 210682
-
Todd Fiala authored
Added test that attempts to write a value to each general purpose register that is bit-flipped from the initial read value. It then reads it back to see if it takes. Right now I just assert that at least one register bit flip write succeeds. I added a note that on the MacOSX x86_64 debugserver case, the only writes that succeed from the GPR set are rax thru rdx, rdi, rsi and rbp. The failures are E32 failure-at-write-attempt issues on the debugserver end. I'll revisit this after implementing in the llgs linux-x86_64 branch. The packet log looks good but I may have a subtle mistake in the code. llvm-svn: 210681
-
Matt Arsenault authored
llvm-svn: 210680
-
Matt Arsenault authored
llvm-svn: 210679
-
Matt Arsenault authored
llvm-svn: 210678
-
Matt Arsenault authored
llvm-svn: 210677
-
Matt Arsenault authored
llvm-svn: 210676
-
Matt Arsenault authored
llvm-svn: 210675
-