Manman Ren
b88adbf118
Debug Info: update testing cases when the derived-from field of
...
DICompositeType is updated to use DITypeRef.
Paired commit with r192251.
llvm-svn: 192252
2013-10-08 23:29:36 +00:00
Manman Ren
bacd1ef42d
Debug Info: In DIBuilder, the derived-from field of DICompositeType
...
is updated to use DITypeRef.
A paired commit at clang is required due to changes to DIBuilder.
llvm-svn: 192251
2013-10-08 23:28:51 +00:00
Rui Ueyama
74cc8e1e80
Fix flaky elf/X86_64/dynlib-search.test.
...
Output to llvm::err() is not guaranteed to be thread-safe, so it needs
to be guarded with a lock.
Differential Revision: http://llvm-reviews.chandlerc.com/D1862
llvm-svn: 192250
2013-10-08 23:01:52 +00:00
Rui Ueyama
f96416d750
Use size_t for array index.
...
llvm-svn: 192249
2013-10-08 23:01:49 +00:00
Nick Kledzik
95a975bc60
[unwind] Fix unw_init_remote_thread() use to void* instead of thread_t for parameter to match other implementations
...
llvm-svn: 192248
2013-10-08 22:59:34 +00:00
Manman Ren
07ab3c381c
Debug Info: update testing cases when the derived-from field of
...
DIDerivedType is updated to use DITypeRef.
Paired commit with r192246.
llvm-svn: 192247
2013-10-08 22:56:54 +00:00
Manman Ren
f69bd75e7c
Debug Info: In DIBuilder, the derived-from field of DIDerivedType
...
is updated to use DITypeRef.
A paired commit at clang is required due to changes to DIBuilder.
llvm-svn: 192246
2013-10-08 22:56:31 +00:00
Nick Kledzik
4d95aae2f7
[unwind] add required #include
...
llvm-svn: 192245
2013-10-08 22:51:34 +00:00
Reid Kleckner
be7a446637
-Wmicrosoft: Don't warn on non-inline pure virtual method definitions
...
MSVC and clang with -fms-extensions allow pure virtual methods to be
defined inline after the "= 0" tokens. Clang warns on these because it
is not standard, but incorrectly warns on out-of-line definitions, which
are standard.
With this change, clang will only warn on inline definitions of pure
virtual methods.
Fixes some self-host warnings on out-of-line definitions of pure virtual
destructors.
llvm-svn: 192244
2013-10-08 22:45:29 +00:00
Chad Rosier
0a903478c6
[AArch64] Add support for NEON scalar floating-point reciprocal estimate,
...
reciprocal exponent, and reciprocal square root estimate instructions.
llvm-svn: 192243
2013-10-08 22:09:29 +00:00
Chad Rosier
9849cc6696
[AArch64] Add support for NEON scalar floating-point reciprocal estimate,
...
reciprocal exponent, and reciprocal square root estimate instructions.
llvm-svn: 192242
2013-10-08 22:09:04 +00:00
Nick Kledzik
f6330ddc0d
Fix conditionals on __Unwind_SjLj_* functions to only build for SJLJ based architectures
...
llvm-svn: 192241
2013-10-08 21:57:22 +00:00
Hans Wennborg
9112ac2136
Turn error about fastcall variadic function into warning in MS mode (PR12535)
...
MSVC allows this and silently falls back to __cdecl for variadic functions.
This patch turns Clang's error into a warning in MS mode and adds a test
to make sure we generate correct code.
Differential Revision: http://llvm-reviews.chandlerc.com/D1861
llvm-svn: 192240
2013-10-08 21:52:56 +00:00
Enrico Granata
347c2aa3e3
<rdar://problem/14028923>
...
Implement SBTarget::CreateValueFromAddress() with a behavior equivalent to SBValue::CreateValueFromAddress()
(but without the need to grab an SBValue first just as a starting point to make up another SBValue out of whole cloth)
llvm-svn: 192239
2013-10-08 21:49:02 +00:00
Fariborz Jahanian
3c593d63a1
ObjectiveC migrator: Add support for inferring
...
properties of function pointer type.
// rdar://15082812
llvm-svn: 192237
2013-10-08 21:32:16 +00:00
Matt Arsenault
bfd1971bbb
Fix duplicated assertions.
...
Do what some other instructions do, and add an assert method.
llvm-svn: 192236
2013-10-08 21:11:12 +00:00
Enrico Granata
cf2412d41d
Tweak documentation for formats in categories
...
llvm-svn: 192235
2013-10-08 21:07:22 +00:00
Enrico Granata
4cc21772f3
<rdar://problem/12632394>
...
Add a format for FourCharCode
This is now safe to do thanks to the "formats in categories" feature
llvm-svn: 192233
2013-10-08 20:59:02 +00:00
Chad Rosier
0babda4b9c
[AArch64] Add support for NEON scalar signed/unsigned integer to floating-point
...
convert instructions.
llvm-svn: 192232
2013-10-08 20:43:46 +00:00
Chad Rosier
f7ed96ef76
[AArch64] Add support for NEON scalar signed/unsigned integer to floating-point
...
convert instructions.
llvm-svn: 192231
2013-10-08 20:43:30 +00:00
Rui Ueyama
f890d3bf26
Fix #endif comment.
...
llvm-svn: 192230
2013-10-08 20:24:25 +00:00
Rui Ueyama
88b24ffe73
Use size_t instead of int64_t for the vector size.
...
llvm-svn: 192229
2013-10-08 20:24:23 +00:00
Reid Kleckner
9d1d3be823
Explicitly request unsigned enum types when desired
...
This fixes repeated -Wmicrosoft warnings when self-hosting clang on
Windows, and gets us real unsigned enum types with MSVC.
llvm-svn: 192228
2013-10-08 20:20:00 +00:00
Reid Kleckner
cd4a25d66e
Explicitly request unsigned enum types when desired
...
This fixes repeated -Wmicrosoft warnings when self-hosting clang on
Windows, and gets us real unsigned enum types with MSVC.
llvm-svn: 192227
2013-10-08 20:15:11 +00:00
Fariborz Jahanian
02461d0218
ObjectiveC migration. Add support for inferring
...
properties of block pointer types. Also, remove
strong lifetime attribute from property type
in this migration. This is wip.
// rdar://15082818
llvm-svn: 192226
2013-10-08 20:14:24 +00:00
Timur Iskhodzhanov
c7113073dd
Revert 192220 as it fails on an assertion
...
llvm-svn: 192225
2013-10-08 20:09:50 +00:00
Manman Ren
2f84f46fef
Debug Info: update testing to reflect r192018.
...
llvm-svn: 192224
2013-10-08 20:06:43 +00:00
Reed Kotler
339c741046
Add fabsf to the list of inlined functions; otherwise
...
Mips16 will try and create a stub for it and this will
result in a link error because that function does not exist in libc.
llvm-svn: 192223
2013-10-08 19:55:01 +00:00
Richard Smith
0ec313e9ec
Suggest people use -Xclang not -cc1 when passing options to the frontend.
...
llvm-svn: 192222
2013-10-08 19:50:01 +00:00
Richard Smith
d6739dca37
Remove documentation of removed -ast-dump-xml flag.
...
llvm-svn: 192221
2013-10-08 19:45:46 +00:00
Timur Iskhodzhanov
1ffb3916ce
Abstract out parts of thunk emission code, add support for simple thunks when using -cxx-abi microsoft
...
Reviewed at http://llvm-reviews.chandlerc.com/D1787
llvm-svn: 192220
2013-10-08 19:15:38 +00:00
Akira Hatanaka
71cd285dc8
[mips] Remove XFAIL.
...
Triple x86_64 has been added to the command line, so this test doesn't fail
on mips anymore.
llvm-svn: 192219
2013-10-08 19:08:54 +00:00
Manman Ren
be5576f5f6
Add DbgVariable::resolve per Eric's suggestion.
...
llvm-svn: 192218
2013-10-08 19:07:44 +00:00
Enrico Granata
852cc954db
<rdar://problem/11778815>
...
Formats (as in "type format") are now included in categories
The only bit missing is caching formats along with synthetic children and summaries, which might be now desirable
llvm-svn: 192217
2013-10-08 19:03:22 +00:00
Manman Ren
bda410f413
Debug Info: rename getOriginalTypeSize to getBaseTypeSize.
...
llvm-svn: 192216
2013-10-08 18:46:58 +00:00
Manman Ren
93b3090a91
Debug Info: take advantage of the existing CU::resolve.
...
llvm-svn: 192215
2013-10-08 18:42:58 +00:00
Manman Ren
235010a6d0
Move DIRef::getName out of line.
...
llvm-svn: 192214
2013-10-08 18:42:03 +00:00
Akira Hatanaka
ee909cc27f
[mips] Simplify and optimize code.
...
No intended functionality change.
llvm-svn: 192213
2013-10-08 18:13:24 +00:00
Matt Arsenault
a2438bd913
Add some xfaild R600 tests.
...
These are bugs to fix later.
llvm-svn: 192212
2013-10-08 18:06:36 +00:00
Ted Kremenek
256b29cbaa
Remove transient code I did not mean to check in.
...
llvm-svn: 192211
2013-10-08 18:04:56 +00:00
Sergey Matveev
adef754297
[sanitizer] Fix deadlock in StopTheWorld.
...
The tracer thread in StopTheWorld could wait on a mutex forever if the parent
process died before unlocking it. Use PR_SET_PDEATHSIG so that the parent would
kill the child in this scenario.
llvm-svn: 192210
2013-10-08 18:01:03 +00:00
Benjamin Kramer
b32b1be766
IRBuilder: Downgrade InsertPointGuard's instruction pointer to a raw pointer.
...
Sadly this loses the checking from AssertingVH, but apparently storing the
end() of a BasicBlock into an AssertingVH has bad consequences as it's not
really an instruction.
llvm-svn: 192209
2013-10-08 17:44:56 +00:00
Serge Pavlov
5815940edc
Fixed messages in tests.
...
llvm-svn: 192208
2013-10-08 17:38:38 +00:00
Reed Kotler
97309af4f4
Let rotr and bswap be handled by expansion for Mips16 since we don't
...
have native instructions for this.
llvm-svn: 192207
2013-10-08 17:32:33 +00:00
Enrico Granata
64d2a2853b
An example of data formatters that generate a summary for a Unicode UTF encoded string represented as a (pointer,length) pair
...
llvm-svn: 192206
2013-10-08 17:29:27 +00:00
Andrew Kaylor
cc7a0ff857
Removing unintended code block from lli
...
llvm-svn: 192205
2013-10-08 17:15:11 +00:00
Serge Pavlov
8f91b35d1b
Fixed grammar. Thanks to Jordan Rose.
...
llvm-svn: 192204
2013-10-08 17:09:03 +00:00
Ted Kremenek
c37877d7a4
Convert anachronistic use of 'void *' to 'DeclContext *' in Scope that was a holdover from the long-dead Action interface.
...
llvm-svn: 192203
2013-10-08 17:08:03 +00:00
Benjamin Kramer
3b05e20031
Fix an edge case in the template differ with default arguments.
...
In the test case one type is coming from a typedef with no default arg, the
other has the default arg. Taking the default arg from the typedef crashes, so
always use the real template paramter declaration. PR17510.
llvm-svn: 192202
2013-10-08 16:58:52 +00:00
Hans Wennborg
22d6ac7e9a
clang-cl: ignore the /sdl[-] flag
...
In cl.exe, this flag turns some warnings into errors and adds some
codegen security checks. I don't think we intend to support this.
llvm-svn: 192201
2013-10-08 16:56:54 +00:00