- Feb 01, 2013
-
-
Michael J. Spencer authored
llvm-svn: 174162
-
Michael J. Spencer authored
In an previous commit I managed to completely disable the IRELATIVE relocation writing code. I also used the wrong addend for the static relocation. Fix both these issues and add a test. This test is quite brittle because there's no way to do arithmetic on variables in FileCheck. llvm-svn: 174161
-
Richard Smith authored
llvm-svn: 174160
-
Nick Lewycky authored
defined. Fixes PR14993! llvm-svn: 174158
-
Richard Smith authored
Also support alignas(0), which C++11 and C11 require us to ignore. llvm-svn: 174157
-
Nadav Rotem authored
llvm-svn: 174156
-
Michael J. Spencer authored
This implements the static relocation model for GOT accesses to TLS. llvm-svn: 174155
-
Michael J. Spencer authored
llvm-svn: 174154
-
Sean Callanan authored
support reporting "this" as a templated class. The expression parser wraps expressions in C++ methods as methods with the signature $__lldb_class::$__lldb_expr(...) and previously responded to clang's queries about $__lldb_class with the type of *this. This didn't work if *this was a ClassTemplateSpecializationDecl because ClassTemplateSpecializationDecls can't be the result of simple name queries. Instead what we do now is respond that $__lldb_class is a typedef and that the target of the typedef is the (potentially templated) type of *this. That is much more robust. Thanks to John McCall for key insights. <rdar://problem/10987183> llvm-svn: 174153
-
Nadav Rotem authored
llvm-svn: 174152
-
Hal Finkel authored
The a2q core is the variant of the a2 core used on the BG/Q supercomputers. llvm-svn: 174151
-
Michael J. Spencer authored
Now we link against glibc without --noinhibit-exec. llvm-svn: 174150
-
Michael J. Spencer authored
llvm-svn: 174149
-
Shankar Easwaran authored
llvm-svn: 174148
-
John McCall authored
Previously we were only handling non-array fields of class type. Testcases derived from a patch by WenHan Gu. llvm-svn: 174146
-
Douglas Gregor authored
class. Fixes <rdar://problem/13017229>. llvm-svn: 174145
-
Sean Silva authored
My "excuse" for not refactoring the grammar here is to not diverge too far from the grammar in the comments of TGParser.cpp, since I'm not taking on the quest of majorly refactoring TGParser.cpp at the moment. One benefit of doing this is that Ideas for refactoring and clarifying the grammar in this document should translate almost immediately to beneficial refactorings that can be made to TGParser.cpp. llvm-svn: 174144
-
Sean Silva authored
Spotted by Eli Bendersky. llvm-svn: 174143
-
Andrew Trick authored
Drive by fix. I noticed some missing logic that might bite future users. This shouldn't affect the final output on currently modeled targets. llvm-svn: 174142
-
Greg Clayton authored
llvm-svn: 174141
-
Bill Schmidt authored
Introduces these negation forms explicitly and uses them to control a new "altivec" target feature for PowerPC. This allows avoiding generating Altivec instructions on processors that support Altivec. The new test case verifies that the Altivec "lvx" instruction is not used when -fno-altivec is present on the command line. llvm-svn: 174140
-
Michael Han authored
Remove "IsMSDeclspec" argument from Align attribute since the arguments in Attr.td should only model those appear in source code. Introduce attribute Accessor, and teach TableGen to generate syntax kind accessors for Align attribute, and use those accessors to decide if an alignment attribute is a declspec attribute. llvm-svn: 174133
-
Bill Wendling authored
llvm-svn: 174132
-
Dan Gohman authored
llvm-svn: 174131
-
Bill Wendling authored
llvm-svn: 174130
-
Greg Clayton authored
A bit of cleanup in the heap module. llvm-svn: 174129
-
Greg Clayton authored
llvm-svn: 174128
-
Greg Clayton authored
llvm-svn: 174127
-
Richard Smith authored
llvm-svn: 174126
-
NAKAMURA Takumi authored
clang/test/Index/headerfile-comment-to-html.m: Try to unbreak libxml2-less hosts to eliminate "CommentXMLValid". llvm-svn: 174124
-
Bill Wendling authored
Use iterators instead of relying upon a bitmask of attributes to remove attributes from an AttrBuilder. llvm-svn: 174123
-
Dan Gohman authored
remaining use of AliasAnalysis concepts such as isIdentifiedObject to prove pointer inequality. @external_compare in test/Transforms/InstSimplify/compare.ll shows a simple case where a noalias argument can be equal to a global variable address, and while AliasAnalysis can get away with saying that these pointers don't alias, instsimplify cannot say that they are not equal. llvm-svn: 174122
-
Chandler Carruth authored
have any effect. Spotted by Eli in review, thanks!!! llvm-svn: 174121
-
Bill Wendling authored
llvm-svn: 174120
-
Dan Gohman authored
be equal, since there's nothing preventing a caller from correctly predicting the stack location of an alloca. llvm-svn: 174119
-
Chandler Carruth authored
infrastructure on MCStreamer to test for whether there is an MCELFStreamer object available. This is just a cleanup on the AsmPrinter side of things, moving ad-hoc tests of random APIs to a direct type query. But the AsmParser completely broken. There were no tests, it just blindly cast its streamer to an MCELFStreamer and started manipulating it. I don't have a test case -- this actually failed on LLVM's own regression test suite. Unfortunately the failure only appears when the stars, compilers, and runtime align to misbehave when we read a pointer to a formatted_raw_ostream as-if it were an MCAssembler. =/ UBSan would catch this immediately. Many thanks to Matt for doing about 80% of the debugging work here in GDB, Jim for helping to explain how exactly to fix this, and others for putting up with the hair pulling that ensued during debugging it. llvm-svn: 174118
-
Chandler Carruth authored
caught this, but I want that in a separate commit in case there is a need to revert the actual functional bit as part of reverting other patches. This way, the commits relating to just getting the RTTI bits in place are separate from the functional changes that start using them. llvm-svn: 174117
-
Bill Wendling authored
s/AttrBuilder::addAttributes/AttrBuilder::addAttribute/g because that's more descriptive of what it actually is. llvm-svn: 174116
-
Chandler Carruth authored
llvm-svn: 174115
-
Dmitri Gribenko authored
I hope the ASCII art delimiters are OK, since they group *groups* of commands -- that is really helpful. llvm-svn: 174114
-