- Dec 05, 2012
-
-
Michael J. Spencer authored
llvm-svn: 169344
-
Sean Silva authored
Sorry for the massive commit, but I just wanted to knock this one down and it is really straightforward. There are still a couple trivial (i.e. not related to the content) things left to fix: - Use of raw HTML links where :doc:`...` and :ref:`...` could be used instead. If you are a newbie and want to help fix this it would make for some good bite-sized patches; more experienced developers should be focusing on adding new content (to this tutorial or elsewhere, but please _do not_ waste your time on formatting when there is such dire need for documentation (see docs/SphinxQuickstartTemplate.rst to get started writing)). - Highlighting of the kaleidoscope code blocks (currently left as bare `::`). I will be working on writing a custom Pygments highlighter for this, mostly as training for maintaining the `llvm` code-block's lexer in-tree. I want to do this because I am extremely unhappy with how it just "gives up" on the slightest deviation from the expected syntax and leaves the whole code-block un-highlighted. More generally I am looking at writing some Sphinx extensions and keeping them in-tree as well, to support common use cases that currently have no good solution (like "monospace text inside a link"). llvm-svn: 169343
-
Jason Molenda authored
Update the Target methods which can change the target log to this channel. llvm-svn: 169342
-
Daniel Malea authored
- add new header lldb-python.h to be included before other system headers - short term fix (eventually python dependencies must be cleaned up) Patch by Matt Kopec! llvm-svn: 169341
-
rdar://problem/12649160Greg Clayton authored
Added the ability to debug through your process exec'ing itself to the same architecture. llvm-svn: 169340
-
Evan Cheng authored
x ^ -1. Patch by David Majnemer. rdar://12755626 llvm-svn: 169339
-
DeLesley Hutchins authored
As the analysis improves, it will continue to add new warnings that are potentially disruptive to existing users. From now on, such warnings will first be introduced under the "beta" flag. Such warnings are not turned on by default; their purpose is to allow users to test their code against future planned changes, before those changes are actually made. After a suitable migration period, beta warnings will be folded into the standard -Wthread-safety. llvm-svn: 169338
-
Matt Beaumont-Gay authored
(TIL that Clang's -Wparentheses ignores 'x || y && "foo"' on purpose. Neat.) llvm-svn: 169337
-
Bill Wendling authored
class of attributes. This makes it much easier to check for errors and to reuse the code. llvm-svn: 169336
-
Alexander Potapenko authored
Fix a use-after-unmap bug in /proc/self/maps caching. The cached buffer was occasionally deleted in the MemoryMappingLayout destructor. llvm-svn: 169335
-
Nadav Rotem authored
LoopVectorizer: Increase the number of pointers that can be tested at runtime. If we cant prove statically that the pointers are disjoint then we add the runtime check. llvm-svn: 169334
-
- Dec 04, 2012
-
-
Nadav Rotem authored
llvm-svn: 169331
-
Chandler Carruth authored
This ensures that even though it comes first, we pick up its .o files. Note that if we can use this (or something similar / equivalent) on other platforms, we could potentially remove ReplaceOperatorsNewAndDelete from the ASan runtimes. We should probably do something similar for TSan and MSan as well. llvm-svn: 169328
-
Evan Cheng authored
llvm-svn: 169325
-
Nadav Rotem authored
reduction variable is not used outside the loop then we ran into an endless loop. This change checks if we found the original PHI. llvm-svn: 169324
-
Jakob Stoklund Olesen authored
Allow the central functions to be inlined, and use the argumentless isHint() function when possible. llvm-svn: 169319
-
Ted Kremenek authored
llvm-svn: 169318
-
rdar://12329730Shuxin Yang authored
This change attempts to simplify (X^Y) -> X or Y in the user's context if we know that only bits from X or Y are demanded. A minimized case is provided bellow. This change will simplify "t>>16" into "var1 >>16". ============================================================= unsigned foo (unsigned val1, unsigned val2) { unsigned t = val1 ^ 1234; return (t >> 16) | t; // NOTE: t is used more than once. } ============================================================= Note that if the "t" were used only once, the expression would be finally optimized as well. However, with with this change, the optimization will take place earlier. Reviewed by Nadav, Thanks a lot! llvm-svn: 169317
-
Jason Molenda authored
these are the *non-volatile* registers on Darwin/i386, not the volatile registers. Recognize the sp, pc, fp generic reg names as well. llvm-svn: 169316
-
David Blaikie authored
llvm-svn: 169315
-
Jyotsna Verma authored
using multiclass. llvm-svn: 169314
-
Tobias Grosser authored
Apperently the git tag causes trouble in some scripts. llvm-svn: 169313
-
Bill Wendling authored
The count attribute is more accurate with regards to the size of an array. It also obviates the upper bound attribute in the subrange. We can also better handle an unbound array by setting the count to -1 instead of the lower bound to 1 and upper bound to 0. llvm-svn: 169312
-
Bill Wendling authored
The count attribute is more accurate with regards to the size of an array. It also obviates the upper bound attribute in the subrange. We can also better handle an unbound array by setting the count to -1 instead of the lower bound to 1 and upper bound to 0. llvm-svn: 169311
-
Matt Beaumont-Gay authored
the link command. This all works fine when the driver is also responsible for adding -lstdc++ to the link command. But, if -lstdc++ (or libstdc++.a, etc) is passed explicitly to the driver, the ASan runtime will appear in the link command after the standard library, leading to multiple-definition errors for the global 'operator new' and 'operator delete'. Fix this in a painfully simple way, by inserting libclang_rt.asan.a at the start of the link command instead of the end. If we need to do something more clever, we can walk the link command looking for something that resembles libstdc++ and insert libclang_rt.asan.a as late as possible, but the simple solution works for now. llvm-svn: 169310
-
Sean Silva authored
llvm-svn: 169309
-
Sean Silva authored
llvm-svn: 169308
-
Fariborz Jahanian authored
<declaration> tag of Comment XML and fixed a missing block literal printout as result of the testing. // rdar://12378714 llvm-svn: 169307
-
Benjamin Kramer authored
llvm-svn: 169306
-
David Blaikie authored
This reapplies the fix for PR13303 now with more justification. Based on my execution of the GDB 7.5 test suite this results in: expected passes: 16101 -> 20890 (+30%) unexpected failures: 4826 -> 637 (-77%) There are 23 checks that used to pass and now fail. They are all in gdb.reverse. Investigating a few looks like they were accidentally passing due to extra breakpoints being set by this bug. They're generally due to the difference in end location between gcc and clang, the test suite is trying to set breakpoints on the closing '}' that clang doesn't associate with any instructions. llvm-svn: 169304
-
Daniel Jasper authored
llvm-svn: 169303
-
Sean Callanan authored
type of an Objective-C selector, don't bother making the expression parser resolve it all over again. Just send the message straight to the object pointer as if it were an id, and cast the result. <rdar://problem/12799087> llvm-svn: 169300
-
Sean Callanan authored
them while making our initial run through the Objective-C runtime's class tables. <rdar://problem/12799087> llvm-svn: 169299
-
Daniel Malea authored
llvm-svn: 169295
-
Eli Bendersky authored
llvm-svn: 169293
-
Eli Bendersky authored
in the triple. llvm-svn: 169292
-
Eli Bendersky authored
textually as NativeClient. Also added a link to the native client project for readers unfamiliar with it. A Clang patch will follow shortly. llvm-svn: 169291
-
Fariborz Jahanian authored
// rdar://12378714 llvm-svn: 169289
-
Nadav Rotem authored
llvm-svn: 169288
-
Jyotsna Verma authored
instructions. llvm-svn: 169287
-