- Oct 18, 2013
-
-
Daniel Jasper authored
This looks ugly and leads to llvm.org/PR17590. Before (with AlwaysBreakBeforeMultilineStrings): return "aaaa" "bbbb"; After: return "aaaa" "bbbb"; llvm-svn: 192984
-
Daniel Jasper authored
Specifically, prefer breaking before trailing annotations over breaking before the first parameter. Before: void ffffffffffffffffffffffff( int aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, int aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa) OVERRIDE; After: void ffffffffffffffffffffffff(int aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, int aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa) OVERRIDE; llvm-svn: 192983
-
Hans Wennborg authored
llvm-svn: 192982
-
Daniel Jasper authored
Before: aaaaaaaaaaaaaaaaaaaaaaaaaaa.aaaaaaaaaaaaaaaaaa().aaaaaaaaaaaaaaaaa().has< bbbbbbbbbbbbbbbbbbbbb>(); After: aaaaaaaaaaaaaaaaaaaaaaaaaaa.aaaaaaaaaaaaa() .aaaaaaaaaaaaaaaaaaaaaaaaaa() .has<bbbbbbbbbbbbbbbbbbbbb>(); llvm-svn: 192981
-
Kostya Serebryany authored
llvm-svn: 192980
-
Kostya Serebryany authored
llvm-svn: 192979
-
David Majnemer authored
Forgot to 'svn add' llvm-svn: 192978
-
Richard Barton authored
Patch by Artyom Skrobov. llvm-svn: 192977
-
Bill Schmidt authored
PR17168 describes a test case that fails when compiling for debug with fast-isel. Investigation showed that the test was failing because a DBG_VALUE machine instruction was placed prior to a PHI. For this problem to occur requires the following: * Compile for debug * Compile with fast-isel * In a block B, fast-isel must partially succeed before punting to DAG-isel * B must start with a PHI * The first unhandled node in the DAG must not generate a machine instruction * A debug value with an order less than that of that first node exists When all of these circumstances apply, the existing test that an instruction was not inserted won't fire. Currently it tests whether the block is empty, or whether the last instruction generated is a phi. When fast-isel has partially succeeded, the last instruction generated will not be a phi. Instead, we need to check whether the current insert position is immediately following a phi. This patch adds that check, and adds the test case from the PR as a regression test. llvm-svn: 192976
-
Alexander Potapenko authored
llvm-svn: 192975
-
Benjamin Kramer authored
Completely harmless, but GCC likes to warn about it even when the next line is a comment. llvm-svn: 192974
-
Alexander Potapenko authored
llvm-svn: 192973
-
Richard Barton authored
Patch by Artyom Skrobov llvm-svn: 192972
-
Chad Rosier authored
llvm-svn: 192971
-
Chad Rosier authored
llvm-svn: 192970
-
Simon Atanasyan authored
llvm-svn: 192969
-
Ed Maste authored
(From LLDB r192897) llvm-svn: 192968
-
Evgeniy Stepanov authored
llvm-svn: 192967
-
Evgeniy Stepanov authored
llvm-svn: 192966
-
Evgeniy Stepanov authored
llvm-svn: 192965
-
Daniel Jasper authored
Patch by Kim Gräsman. Thank you! llvm-svn: 192964
-
Silviu Baranga authored
Add hardware division as a default feature on Cortex-A15. Also add test cases to check this, and change diagnostics for the hwdiv-arm feature to something useful. llvm-svn: 192963
-
Hafiz Abid Qadeer authored
This commit adds an example python file that can be used with 'target-definition-file' setting for Linux gdbserver. This file has an extra key 'breakpoint-pc-offset' that LLDB uses to determine how much to change the PC after hitting the breakpoint. llvm-svn: 192962
-
Daniel Sanders authored
llvm-svn: 192961
-
Kostya Serebryany authored
llvm-svn: 192960
-
Evgeniy Stepanov authored
llvm-svn: 192959
-
Alp Toker authored
Thanks to Daniel Berlin and Nadav Rotem for feedback and rewording! Discussion: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20131014/191677.html Reviewed by: nrotem, dberlin llvm-svn: 192958
-
David Majnemer authored
There are targets that support i128 sized scalars but cannot emit instructions that modify them directly. The proper thing to do is to emit a libcall. This fixes PR17481. llvm-svn: 192957
-
Kostya Serebryany authored
llvm-svn: 192956
-
Alp Toker authored
gcc diagnoses this: warning: converting to non-pointer type 'unsigned int' from NULL Also remove an empty statement. No change in functionality. llvm-svn: 192955
-
Alexey Samsonov authored
llvm-svn: 192954
-
Alp Toker authored
No change in functionality. llvm-svn: 192953
-
Alexey Samsonov authored
llvm-svn: 192952
-
Richard Smith authored
llvm-svn: 192951
-
Richard Smith authored
If we have multiple definitions of the same entity from different modules, we nominate the first definition which we see as being the canonical definition. If we load a declaration from a different definition and we can't find a corresponding declaration in the canonical definition, issue a diagnostic. This is insufficient to prevent things from going horribly wrong in all cases -- we might be in the middle of emitting IR for a function when we trigger some deserialization and discover that it refers to an incoherent piece of the AST, by which point it's probably too late to bail out -- but we'll at least produce a diagnostic. llvm-svn: 192950
-
Jason Molenda authored
queue name out of ProcessGDBRemote and in to the Platform plugin, specifically PlatformDarwin. Also add a Platform method to translate a dispatch_quaddr to a QueueID, and a Thread::GetQueueID(). I'll add an SBThread::GetQueueID() next. llvm-svn: 192949
-
Alp Toker authored
r177003 applied the late parsed template technique to friend functions but omitted the corresponding check for redefinitions. This patch adds the same check already in use for templates to the new code path in order to diagnose and reject invalid redefinitions that were being silently accepted. Fixes PR17324. Reviewed by Richard Smith. llvm-svn: 192948
-
Alp Toker authored
Delayed exception specification checking for defaulted members and virtual destructors are both susceptible to mutation during iteration so we need to swap and process the worklists. This resolves both accepts-invalid and rejects-valid issues and moreover fixes potential invalid memory access as the contents of the vectors change during iteration and recursive template instantiation. Checking can be further delayed where parent classes aren't yet fully defined. This patch adds two assertions at end of TU to ensure no specs are left unchecked as was happenning before the fix, plus a test case from Marshall Clow for the defaulted member crash extracted from the libcxx headers. Reviewed by Richard Smith. llvm-svn: 192947
-
Nick Lewycky authored
False. GCC does not accept [[gnu::warn_unused]], not to be confused with [[gnu::warn_unused_result]] which does exist. llvm-svn: 192946
-
Rui Ueyama authored
INT 3 (machine code 0xCC) will raise an interrupt when executed. That is better for filling the gap than NOP because we want to stop the execution immediately when the control reached to non-code address. llvm-svn: 192945
-