- Feb 03, 2013
-
-
Michael Gottesman authored
GlobalVariable about LLVM's assumptions vis-a-vis Global Variable initial values and Global Variable initializers. This is in preparation for adding the new keyword externally_initialized. Specifically, the patch explains how LLVM optimizes global initializers by assumign that global variables defined within the module are not modified from their initial values before the start of the global initializer. llvm-svn: 174269
-
Alex Rosenberg authored
llvm-svn: 174268
-
- Feb 02, 2013
-
-
Jason Molenda authored
fixes crash of the form % lldb (lldb) target symbols add /tmp/symbols.dSYM (lldb) Killed: 9 <rdar://problem/13139481> llvm-svn: 174267
-
David Blaikie authored
The main lists of debug info metadata attached to the compile_unit had an extra layer of metadata nodes they went through for no apparent reason. This patch removes that (& still passes just as much of the GDB 7.5 test suite). If anyone can show evidence as to why these extra metadata nodes are there I'm open to reverting this patch & documenting why they're there. llvm-svn: 174266
-
Jordan Rose authored
...again. The problem has not been fixed and our internal buildbot is still getting hangs. This reverts r174212, originally applied in r173951, then reverted in r174069. Will not re-apply until the entire project analyzes successfully on my local machine. llvm-svn: 174265
-
Reed Kotler authored
This checkin makes hello world work. llvm-svn: 174264
-
Dmitri Gribenko authored
Also migrate all clients from the old API. llvm-svn: 174263
-
Richard Smith authored
designator" diagnostic with more correct and more human-friendly "cannot take address of rvalue of type 'T'". For the case of & &T::f, provide a custom diagnostic, rather than unhelpfully saying "cannot take address of rvalue of type '<overloaded function type>'". For the case of &array_temporary, treat it just like a class temporary (including allowing it as an extension); the existing diagnostic wording for the class temporary case works fine. llvm-svn: 174262
-
Richard Smith authored
Correctly classify T{} as an array temporary if T is an array of class type with nontrivial destructor. llvm-svn: 174261
-
Ted Kremenek authored
llvm-svn: 174260
-
Manman Ren authored
llvm-svn: 174259
-
Greg Clayton authored
set logfile=<path> set logmask=<num> But this opens the door for us to do much more. llvm-svn: 174258
-
Richard Smith authored
llvm-svn: 174257
-
Ted Kremenek authored
Turns out we didn't update scan-build to work with HTML files in nested directories. llvm-svn: 174256
-
Michael Gottesman authored
llvm-svn: 174255
-
Michael Gottesman authored
llvm-svn: 174254
-
Michael Gottesman authored
On platforms which do not support ARC natively, do not mark objc_retain/objc_release as "nonlazybind". rdar://13108298. rdar://13129783. llvm-svn: 174253
-
Ted Kremenek authored
llvm-svn: 174252
-
Bill Wendling authored
llvm-svn: 174251
-
Bill Wendling authored
Use the AttributeSet's iterators in AttrBuilder::hasAttributes() when determining of the intersection of the AttrBuilder and AttributeSet is non-null. llvm-svn: 174250
-
David Blaikie authored
This reverts commit 1513eb9284c23acfd19cf742b95996fbb11ca741. llvm-svn: 174249
-
David Blaikie authored
Based on post-commit review by Paul Robinson. llvm-svn: 174248
-
David Blaikie authored
This addresses several (not all) debug info tests that use explicit metadata numbers. Wherever the same number appeared more than once in a test I used a named match to ensure the same number appeared in all those cases (this may still be overly constraining test cases as they may not have actually cared about that relationship). For one-off numbers I just replaced them with an unnamed regex. This may underconstrain poorly written test cases that were interested in checking that certain metadata nodes were related but didn't actually match on all the related nodes numbers. llvm-svn: 174247
-
David Blaikie authored
llvm-svn: 174246
-
Anna Zaks authored
Inlining these functions is essential for correctness. We often have cases where we do not inline calls. For example, the shallow mode and when reanalyzing previously inlined ObjC methods as top level. llvm-svn: 174245
-
Anna Zaks authored
llvm-svn: 174244
-
Anna Zaks authored
llvm-svn: 174243
-
Nick Lewycky authored
says, but that's a defect (to be filed). "Cls::purevfn()" is still an odr use. Also fixes a bug that caused us to not mark the function referenced just because we didn't want to mark it odr used. llvm-svn: 174242
-
Nick Lewycky authored
llvm-svn: 174241
-
Nick Lewycky authored
says, but that's a defect (to be filed). "Cls::purevfn()" is still an odr use. Also fixes a bug in the previous patch that caused us to not mark the function referenced just because we didn't want to mark it odr used. llvm-svn: 174240
-
Shuxin Yang authored
Fix a bug in DAGCombine. The symptom is mistakenly optimizing expression "x + x*x" into "x * 3.0". llvm-svn: 174239
-
Dmitri Gribenko authored
Also migrate all clients from the old API. llvm-svn: 174238
-
Manman Ren authored
llvm-svn: 174237
-
Enrico Granata authored
It is better practice and, also, it is not clear whether std::auto_ptr<> is smart enough to know about delete[] vs. delete llvm-svn: 174236
-
Manman Ren authored
Testing case is reduced from MultiSource/BenchMarks/Prolangs-C++/deriv1. rdar://problem/13071590 llvm-svn: 174235
-
Douglas Gregor authored
Different modules may have different views of the various "special" types in the AST, such as the redefinition type for "id". Merge those types rather than only considering the redefinition types for the first AST file loaded. llvm-svn: 174234
-
rdar://problem/13050227Greg Clayton authored
Added a regular expression command called "_regexp-list" which mimics the GDB "line" command in the following forms: LINENUM, to list around that line in current file, FILE:LINENUM, to list around that line in that file, FUNCTION, to list around beginning of that function, *ADDRESS, to list around the line containing that address. ADDRESS, same as above, but don't require a '*' as long as ADDRESS is hex llvm-svn: 174233
-
Bill Schmidt authored
llvm-svn: 174232
-
rdar://problem/12693921Greg Clayton authored
Added the ability to send monitor command to the remote GDB server with "process plugin packet monitor". llvm-svn: 174231
-
- Feb 01, 2013
-
-
Bill Schmidt authored
llvm-svn: 174230
-