- Apr 23, 2014
-
-
David Majnemer authored
Mangle ref-qualifiers like the Nov 2013 CTP. This fixes PR19361. llvm-svn: 206946
-
David Majnemer authored
No functional change. llvm-svn: 206945
-
David Majnemer authored
No functional change. llvm-svn: 206944
-
David Majnemer authored
No functional change. llvm-svn: 206943
-
Dan Albert authored
Fixes compiler complaint about: src/Unwind/UnwindCursor.hpp:366:25: error: 'libunwind::AbstractUnwindCursor' has virtual functions but non-virtual destructor [-Werror,-Wnon-virtual-dtor] llvm-svn: 206942
-
Dan Albert authored
The was working because, given __APPLE__, _LIBUNWIND_BUILD_SJLJ_APIS was set to __arm__, but other ARM targets not using SJ/LJ will fail to compile. llvm-svn: 206941
-
Filipe Cabecinhas authored
This avoids setting the winlib feature on machines with a lib dir in a $PATH dir. llvm-svn: 206940
-
Dan Albert authored
Darwin and the BSDs define a tagged struct dl_info typedef'd as Dl_info. glibc and bionic typedef an anonymous struct as Dl_info. llvm-svn: 206939
-
Chandler Carruth authored
the Callee list. This is going to be quite important to prevent removal from going quadratic. No functionality changed at this point, this is one of the refactoring patches I've broken out of my initial work toward mutation updates of the call graph. llvm-svn: 206938
-
Justin Bogner authored
We previously treated ARM separately from the generic Itanium ABI for initializing guard variables. This code duplication led to things like the ARM path missing the memory barrier for threadsafe handling, and a highly misleading comment about how we were (mis)using the generic ABI for ARM64 when really it went through the ARM codepath. This unifies the two code paths. Functionally, this changes the ARM and ARM64 codepath to use one byte loads instead of 4 and 8, respectively, and adds the missing atomic acquire to these loads. Other architectures are unchanged. llvm-svn: 206937
-
Reid Kleckner authored
The 'CHECK: add' line was occasionally matching against the filename, breaking the subsequent CHECK-NOT. Also use CHECK-LABEL. llvm-svn: 206936
-
Reid Kleckner authored
llvm-svn: 206935
-
Reid Kleckner authored
Users are expected to pass system includes through the INCLUDE environment variable on Windows. There's no reason to change behavior based on the toolchain used to build Clang. I didn't change the registry searching code because I'm not sure it builds with mingw and I'm not set up to test it. llvm-svn: 206934
-
Reid Kleckner authored
llvm-svn: 206933
-
Richard Smith authored
digits. Turns out we have completely separate lexing codepaths for floating point numbers depending on whether or not they start with a zero. Who knew... =) llvm-svn: 206932
-
Rui Ueyama authored
We don't use sections with IMAGE_SYM_DEBUG attribute so we basically want to the symbols for them when reading symbol table. When we skip them, we need to skip auxiliary symbols too. Otherwise weird error would happen because aux symbols would be interpreted as regular ones. llvm-svn: 206931
-
Todd Fiala authored
lldbgdbserverutils.py has a new expect_lldb_gdbserver_replay() method that plays back gdb remote send/receive packets. These packets are the log lines that come from running the 'log enable gdb-remote packets', either from the lldb-gdbserver side or the lldb side. There's a flag to flip which side is the send (lldb-gdbserver input or lldb-gdbserver output). This first checkin tests the initial gdbremote handshake, the ability to turn on the no-ack mode communication style, thread suffix support, and list threads in stop reply support. The last two are marked xfail as top of tree does not yet support these. --This line, and those below, will be ignored-- M test/tools/lldb-gdbserver/TestLldbGdbServer.py M test/tools/lldb-gdbserver/lldbgdbserverutils.py llvm-svn: 206930
-
Richard Smith authored
statements, don't diagnose; the return type might end up being 'void'. Patch by Rahul Jain! Tiny tweaks by me. llvm-svn: 206929
-
David Blaikie authored
llvm-svn: 206927
-
David Blaikie authored
This prompted me to push references through most of DwarfDebug. Sorry for the churn. Honestly it's a bit silly that we're passing around units all over the place like that anyway and I think it's mostly due to the DIE attribute adding utility functions being utilities in DwarfUnit. I should have another go at moving them out of DwarfUnit... llvm-svn: 206925
-
Sean Silva authored
Added note to docs/README.txt on how to check the reachibility of external links in the documentation. Patch by Dan Liew! llvm-svn: 206924
-
Kevin Enderby authored
from places like MCCodeEmitter() in the MC backend when the MCContext is const. I was going to use this in my change for r206669 but Jim convinced me to use an assert there. But this still is a good tweak. llvm-svn: 206923
-
Justin Bogner authored
The modules cache path shouldn't be included in crash reports, as it's a system (or run) specific directory. llvm-svn: 206922
-
David Blaikie authored
So Chandler - how about those range algorithms? (would really love a dereferencing range adapter for this sort of stuff) llvm-svn: 206921
-
Diego Novillo authored
Summary: This addresses the feedback to http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20140421/103598.html Reviewers: rsmith Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D3453 llvm-svn: 206920
-
Rui Ueyama authored
llvm-svn: 206919
-
Rui Ueyama authored
r206916 was not logically the same as the previous code because the goto statements did not create loop. This should be the same as the previous code. llvm-svn: 206918
-
Rafael Espindola authored
This fixes pr19484. llvm-svn: 206917
-
Rui Ueyama authored
Goto statements jumping into previous inner blocks are pretty confusing to read even though in this case they are valid. No reason to not use while loops there. llvm-svn: 206916
-
Alexey Samsonov authored
[profile] Flatten profile runtime - define platform-specific code in sources, not in the build system llvm-svn: 206915
-
Quentin Colombet authored
llvm-svn: 206914
-
Juergen Ributzka authored
In the case where the constant comes from a cloned cast instruction, the materialization code has to go before the cloned cast instruction. This commit fixes the method that finds the materialization insertion point by making it aware of this case. This fixes <rdar://problem/15532441> llvm-svn: 206913
-
Juergen Ributzka authored
[Constant Hoisting] Print the instructions in the correct order for debugging. No functional change. llvm-svn: 206912
-
Rafael Espindola authored
Patch by Maks Naumov! llvm-svn: 206911
-
Fariborz Jahanian authored
on CF type is not sufficient and bridge casting is still required for proper ownership semantics. // rdar://16650445 llvm-svn: 206910
-
Ben Langmuir authored
We don't need the ASTContext for the diagnostics, only the language options, which we can get from the compiler invocation. It worries me how many categorically different states the ASTUnit class can be in depending on how it is being constructed/used. llvm-svn: 206909
-
Timur Iskhodzhanov authored
Fix PR19487, PR19505 and PR19506 -- redundant vtordisp thunks when the final overrider is present in both a vbase and nvbase Reviewed at http://reviews.llvm.org/D3449 llvm-svn: 206908
-
DeLesley Hutchins authored
llvm-svn: 206907
-
Kevin Enderby authored
diagnostic that includes location information. Currently if one has this assembly: .quad (0x1234 + (4 * SOME_VALUE)) where SOME_VALUE is undefined ones gets the less than useful error message with no location information: % clang -c x.s clang -cc1as: fatal error: error in backend: expected relocatable expression With this fix one now gets a more useful error message with location information: % clang -c x.s x.s:5:8: error: expected relocatable expression .quad (0x1234 + (4 * SOME_VALUE)) ^ To do this I plumbed the SMLoc through the MCObjectStreamer EmitValue() and EmitValueImpl() interfaces so it could be used when creating the MCFixup. rdar://12391022 llvm-svn: 206906 -
David Blaikie authored
llvm-svn: 206905
-