Daniel Dunbar
8d365a1749
build: liblldb now depends on the linker library
...
llvm-svn: 143466
2011-11-01 17:32:01 +00:00
Argyrios Kyrtzidis
244ce8b204
Put a reference of the ASTReader in the ASTUnit.
...
This is intended for direct access of the ASTReader for uses that make
little sense to try to shoehorn in the ExternalASTSource interface.
llvm-svn: 143465
2011-11-01 17:14:15 +00:00
Argyrios Kyrtzidis
b9689bb46f
[libclang] For a class extension, give it a unique USR but for any property or ivar
...
it contains give it a USR based on its semantic context, which is the interface.
This follows what we already did for objc methods. rdar://10371669
llvm-svn: 143464
2011-11-01 17:14:12 +00:00
Richard Smith
fec0992aca
Implement C++11 'constexpr calls must return constant expressions' rule, and
...
perform the code simplifications this rule allows.
llvm-svn: 143463
2011-11-01 16:57:24 +00:00
Sebastian Redl
72ef7bc2b5
Enable function call and some overload resolution with parameters of aggregate class type and initializer list arguments.
...
llvm-svn: 143462
2011-11-01 15:53:09 +00:00
Richard Osborne
56ce0932db
Don't fold negative offsets into cp / dp accesses to avoid relocation errors.
...
This can happen if the address + addend is less than the start of the cp / dp.
llvm-svn: 143459
2011-11-01 11:31:53 +00:00
Richard Osborne
37fe7d6641
Combine various XCore tests for floating point intrinsic support into a single test.
...
llvm-svn: 143458
2011-11-01 10:51:48 +00:00
Richard Osborne
8591b6b0ab
Move various XCore tests to FileCheck
...
llvm-svn: 143457
2011-11-01 10:41:28 +00:00
Craig Topper
fec80c6ad2
Fix operand type for x86 pmadd_ub_sw intrinsic.
...
llvm-svn: 143455
2011-11-01 07:25:22 +00:00
Eli Friedman
39df70c33a
Remove a couple unused methods. PR11201.
...
llvm-svn: 143452
2011-11-01 05:11:01 +00:00
Eli Friedman
a49b828f8f
Make sure we use the right insertion point when instcombine replaces a PHI with another instruction. (Specifically, don't insert an arbitrary instruction before a PHI.) Fixes PR11275.
...
llvm-svn: 143437
2011-11-01 04:49:29 +00:00
Eli Friedman
86fe42d184
Correct test for additional comment line.
...
llvm-svn: 143436
2011-11-01 04:46:08 +00:00
Eli Friedman
d4e02a50ba
A couple misc fixes so that bugpoint doesn't explode reducing code containing landingpads.
...
llvm-svn: 143435
2011-11-01 04:40:56 +00:00
Bill Wendling
eda350d8ab
Add LuaAV to external projects list.
...
llvm-svn: 143431
2011-11-01 04:08:23 +00:00
Eli Friedman
e1f2ce8fd3
Mark test as requiring x86 backend.
...
llvm-svn: 143427
2011-11-01 03:48:36 +00:00
Eli Friedman
97ed64081d
Don't depend on system includes in test.
...
llvm-svn: 143426
2011-11-01 03:35:57 +00:00
Eli Friedman
3ba20c1571
Make test work with ARM C++ ABI.
...
llvm-svn: 143425
2011-11-01 03:30:32 +00:00
Eli Friedman
0eb88775ef
Move x86-specific tests into X86 folder.
...
llvm-svn: 143424
2011-11-01 03:21:48 +00:00
Jason Molenda
707fec479c
Restructure the relationship between UnwindLLDB and the
...
RegisterContextLLDBs it contains.
Previously RegisterContextLLDB objects had a pointer to their "next"
frame down the stack. e.g. stack starts at frame 0; frame 3 has a
pointer to frame 2. This is used to retreive callee saved register
values. When debugging an inferior that has blown out its own stack,
however, this could result in lldb blowing out its own stack while
recursing down to retrieve register values.
RegisterContextLLDB no longer has a pointer to its next frame; it
has a reference to the UnwindLLDB which contains it. When it needs
to retrieve a reg value, it asks the UnwindLLDB for that reg value
and UnwindLLDB iterates through the frames until it finds a location.
llvm-svn: 143423
2011-11-01 03:21:25 +00:00
Eli Friedman
2b59cf30e4
Remove empty directory.
...
llvm-svn: 143422
2011-11-01 03:21:17 +00:00
Eli Friedman
6185a2aa7c
Move another test requiring x86 into X86 directory.
...
llvm-svn: 143421
2011-11-01 03:12:47 +00:00
Eli Friedman
2cd281ea67
Move test requiring x86 backend into X86 directory.
...
llvm-svn: 143420
2011-11-01 03:11:41 +00:00
Jim Ingham
ce553d885a
Enhanced the ObjC DynamicCheckerFunction to test for "object responds to selector" as well as
...
"object borked"... Also made the error when the checker fails reflect this fact rather than
report a crash at 0x0.
Also a little cleanup:
- StopInfoMachException had a redundant copy of the description string.
- ThreadPlanCallFunction had a redundant copy of the thread, and had a
copy of the process that it didn't really need.
llvm-svn: 143419
2011-11-01 02:46:54 +00:00
Eli Friedman
fc08bdcc57
Tests for UTF-8 encoding in strings in source code. Patch by Seth Cantrell.
...
llvm-svn: 143418
2011-11-01 02:26:36 +00:00
Eli Friedman
fcec630a57
Fix the representation of wide strings in the AST and IR so that it uses the native representation of integers for the elements. This fixes a bunch of nastiness involving
...
treating wide strings as a series of bytes.
Patch by Seth Cantrell.
llvm-svn: 143417
2011-11-01 02:23:42 +00:00
Eli Friedman
703e7153af
Perform proper conversion for strings encoded in the source file as UTF-8. (For now, we are assuming the source character set is always UTF-8; this can be easily extended if necessary.)
...
Tests will be coming up in a subsequent commit.
Patch by Seth Cantrell.
llvm-svn: 143416
2011-11-01 02:14:50 +00:00
Eli Friedman
2ae0e1e279
Move ConvertUTF8toUTF32 out of #if 0, in preparation for a patch which needs it.
...
llvm-svn: 143415
2011-11-01 02:10:54 +00:00
Tobias Grosser
1a5307c7cc
Add LinkAllPasses to clang
...
This patch ensures that no passes are deleted from clang, such that the loading
of plugins does not fail because of passes being unavailable. This increases
the size of the clang binary from 43029853 to 43915291 bytes (around 2%).
llvm-svn: 143414
2011-11-01 01:34:59 +00:00
Jim Grosbach
fb2f1d61f4
ARM VLD/VST assembly parsing for symbolic address operands.
...
llvm-svn: 143413
2011-11-01 01:24:45 +00:00
Douglas Gregor
a7efb88baa
Add __has_feature(cxx_raw_string_literals) and
...
__has_feature(cxx_unicode_literals), from Michel Morin!
llvm-svn: 143412
2011-11-01 01:23:44 +00:00
Douglas Gregor
3c469769a2
Add __has_feature(cxx_defaulted_functions) for querying "defaulted
...
functions", from Michel Morin!
llvm-svn: 143411
2011-11-01 01:19:34 +00:00
Douglas Gregor
d73f3ddb44
Rework the AST for the initializer of a delegating constructor, so
...
that it retains source location information for the type. Aside from
general goodness (being able to walk the types described in that
information), we now have a proper representation for dependent
delegating constructors. Fixes PR10457 (for real).
llvm-svn: 143410
2011-11-01 01:16:03 +00:00
Greg Clayton
93d217889e
Bumped Xcode project version to lldb-84 and debugserver-149.
...
llvm-svn: 143408
2011-11-01 01:10:56 +00:00
Jakob Stoklund Olesen
559d4dcc16
Update split candidate correctly when interference cache is full.
...
No test case, spotted by inspection.
llvm-svn: 143407
2011-11-01 00:02:31 +00:00
Eli Friedman
d28ddbff8d
Add support for new atomics to cpp backend. Misc other fixes while I'm here. PR11268.
...
llvm-svn: 143406
2011-10-31 23:59:22 +00:00
Devang Patel
f4af8c65aa
Add utility to append a function to the list of global constructors.
...
Patch by Kostya Serebryany.
llvm-svn: 143405
2011-10-31 23:58:51 +00:00
Matt Beaumont-Gay
1c1a2b8123
Change the actual tests to match the input directory rename (duh)
...
llvm-svn: 143404
2011-10-31 23:56:52 +00:00
Greg Clayton
9d3d6886e6
Fixed some warnings after enabling some stricter warnings in the Xcode project
...
settings.
Also fixed an issue where we weren't creating anonymous namepaces correctly:
<rdar://problem/10371295>
llvm-svn: 143403
2011-10-31 23:51:19 +00:00
Jim Ingham
549f737453
We can't have the global vector of modules be a static object, or it might get destroyed
...
before all the modules, which will then crash when the next modules tries to take itself off it.
llvm-svn: 143402
2011-10-31 23:47:10 +00:00
Tanya Lattner
e9839c045f
Reapply r141657.
...
Also revert the change to CREATE_SUBDIRS as this is what caused the CSS to break on the website and generate the much longer URLs.
llvm-svn: 143401
2011-10-31 23:46:50 +00:00
Matt Beaumont-Gay
da5e57cba1
Rename "TestObjectFiles" to "Inputs" (like the pattern for Clang tests)
...
llvm-svn: 143400
2011-10-31 23:46:38 +00:00
Fariborz Jahanian
f0cda63975
Adds IRGen support for captured rvalue references in blocks.
...
In this case, temporary value is copied into block descriptor
as their own copy to work on. // rdar://9971124
llvm-svn: 143399
2011-10-31 23:44:33 +00:00
Daniel Dunbar
3344d2b9ea
build: Add the Darwin-Kernel Makefile.
...
llvm-svn: 143398
2011-10-31 23:38:34 +00:00
Daniel Dunbar
a6ad0e2979
warnings: Fix another place with extension warnings I somehow missed.
...
llvm-svn: 143397
2011-10-31 23:38:30 +00:00
Johnny Chen
5fede4bfba
Add expectedFailure decorators.
...
rdar://problem/10373783
llvm-svn: 143396
2011-10-31 23:35:33 +00:00
Johnny Chen
9a1e9af2ba
Add some expr evaluations for simple STL data types.
...
Radar to be filed soon.
llvm-svn: 143395
2011-10-31 23:28:52 +00:00
Daniel Dunbar
16d88ff045
tests: Improve Makefile/dotest to properly set LLDB_HERE variable used in some
...
tests.
llvm-svn: 143394
2011-10-31 23:27:06 +00:00
Jim Ingham
56bbb88689
ValueObjectVariable::GetClangAST should check that it has a valid Type before accessing it.
...
llvm-svn: 143393
2011-10-31 23:06:45 +00:00
Eli Friedman
42fbd62d92
Some minor comment changes in constant-folding comparisons.
...
llvm-svn: 143391
2011-10-31 22:54:30 +00:00
Daniel Dunbar
f1a7d2253a
build: Fix SWIG include paths on Darwin.
...
llvm-svn: 143390
2011-10-31 22:51:14 +00:00