Sergey Matveev
6f7fb43ad3
[sanitizer] Fix the parent liveness check in StopTheWorld.
...
Comparing the parent PID with 1 isn't sufficient to ensure the parent is alive,
because of prctl(PR_SET_CHILD_SUBREAPER, ...). Compare with the real parent's
recorded PID instead.
llvm-svn: 192295
2013-10-09 13:36:20 +00:00
Venkatraman Govindaraju
8812485d41
[Sparc] Disable tail call optimization for sparc64.
...
This patch fixes PR17506.
llvm-svn: 192294
2013-10-09 12:50:39 +00:00
Simon Atanasyan
068e0fd52e
[Mips] Group MIPS-related options checking function in one place.
...
llvm-svn: 192293
2013-10-09 12:12:39 +00:00
Simon Atanasyan
6736ad1222
[Mips] Make the isMipsR2Arch() function simpler - remove checking for
...
MIPS-arch.
llvm-svn: 192292
2013-10-09 12:12:34 +00:00
Simon Atanasyan
30b0127d4c
[Mips] Remove unused mips_CPUs_Group options group. It's better to join
...
all MIPS-related options to the new m_mips_Features_Group later.
llvm-svn: 192291
2013-10-09 12:12:29 +00:00
Simon Atanasyan
e0cc7c72be
[Mips] Do not check for options from the OPT_mips_CPUs_Group. All these
...
options are aliases now.
llvm-svn: 192290
2013-10-09 12:12:24 +00:00
Simon Atanasyan
3e570f3766
[Mips] Make mips32/mips32r2/mips64/mips64r2 real aliases for appropriate
...
march options.
llvm-svn: 192289
2013-10-09 12:12:19 +00:00
Timur Iskhodzhanov
e1ebc5fb66
Code cleanup: rename VTableContext to ItaniumVTableContext, VTableBuilder to ItaniumVTableBuilder and clang-format code around
...
llvm-svn: 192288
2013-10-09 11:33:51 +00:00
NAKAMURA Takumi
f16acbbad3
clang/test/Coverage/codegen-next.m: Exclude this for targeting x86_64-win32.
...
llvm-svn: 192286
2013-10-09 09:45:27 +00:00
Timur Iskhodzhanov
ad9d3b8fd1
Reland 192220 "Abstract out parts of thunk emission code, add support for simple thunks when using -cxx-abi microsoft" with relaxed assertions
...
llvm-svn: 192285
2013-10-09 09:23:58 +00:00
Greg Bedwell
1411aeb2a2
Test commit. Remove whitespace from otherwise empty lines.
...
llvm-svn: 192284
2013-10-09 08:55:27 +00:00
Elena Demikhovsky
a3a714082b
AVX-512: Added VRCP28 and VRSQRT28 instructions and intrinsics.
...
llvm-svn: 192283
2013-10-09 08:16:14 +00:00
Tim Northover
1fdb076a31
AArch64: enable MISched by default.
...
Substantial SelectionDAG scheduling is going away soon, and is
interfering with Hao's attempts to implement LDn/STn instructions, so
I say we make the leap first.
There were a few reorderings (inevitably) which broke some tests. I
tried to replace them with CHECK-DAG variants mostly, but some too
complex for that to be useful and I just reordered them.
llvm-svn: 192282
2013-10-09 07:53:57 +00:00
Tim Northover
74cf0bd77d
AArch64: migrate ADRP relaxation test to be llvm-mc only.
...
llvm-svn: 192281
2013-10-09 07:53:49 +00:00
Shankar Easwaran
49408ece47
[Layout] Dont set ordinals to Files by default.
...
This change removes code in various places which was setting the File Ordinals.
This is because the file ordinals are assigned by the way files are resolved.
There was no other way than making the getNextFileAndOrdinal be set const and
change the _nextOrdinal to mutable.
There are so many places in code, that you would need to cleanup to make
LinkingContext non-const!
llvm-svn: 192280
2013-10-09 07:32:47 +00:00
Craig Topper
2d0d180ab4
More x86 disassembler filtering cleanup.
...
llvm-svn: 192279
2013-10-09 06:12:53 +00:00
Shankar Easwaran
30c4d11395
[cleanup] remove unused private variable
...
llvm-svn: 192278
2013-10-09 05:37:01 +00:00
Shankar Easwaran
1d3c48f1fc
[Layout] Assign ordinals in Resolution order.
...
llvm-svn: 192277
2013-10-09 05:23:23 +00:00
Andrew Trick
15a4774345
Add missing HasAVX512 predicate.
...
This was only working because AVX had cheaper rules in all cases.
I'm sure there are other places in this file where predicates are missing.
llvm-svn: 192276
2013-10-09 05:11:10 +00:00
Craig Topper
043d749ba3
Remove some old filters from the x86 disassembler table builder.
...
llvm-svn: 192275
2013-10-09 05:02:29 +00:00
Craig Topper
a5f628cecf
Replace a couple instructions with patterns referring to other instructions with same encoding and operands. Mark a couple other instructions as CodeGenOnly since we have FR and VR instructions and only one of them is needed by the assembler/disassembler.
...
llvm-svn: 192274
2013-10-09 04:54:21 +00:00
Shankar Easwaran
091a18070b
[test] Just use the exit code from the test for now.
...
Will fix this in later commits. Not sure why the regex is not passing.
llvm-svn: 192273
2013-10-09 04:30:17 +00:00
Craig Topper
a328ee42cf
Use AVX512PIi8 for the alt forms of vcmp instructions. This adds the TB prefix and keeps the mnemonic from starting with an extra 'v'
...
llvm-svn: 192272
2013-10-09 04:24:38 +00:00
Craig Topper
49d3319857
Mark some instructions as CodeGenOnly since they aren't needed by the assembler or disassembler. Disassembler already filtered them, but asm parser still had them in its tables.
...
llvm-svn: 192271
2013-10-09 03:56:16 +00:00
Shankar Easwaran
127d04a440
[test] Fix regex for failing test on bot
...
llvm-svn: 192270
2013-10-09 03:53:32 +00:00
Shankar Easwaran
03f7763d21
[inputGraph] Associate Resolve state with appropriate nodes
...
This associates resolveState to FileNodes. The control node derive
their resolution state from the inputElements that are contained in
it.
This makes --start-group/--end-group to work with ELF linking.
llvm-svn: 192269
2013-10-09 03:40:29 +00:00
Jason Molenda
a3a542ff21
Handle the case where completing variables in a frame
...
with no source-level debug information correctly.
<rdar://problem/15182936>
llvm-svn: 192268
2013-10-09 02:39:26 +00:00
Sean Callanan
c707f32fbe
Fixed a bug where variables' byte sizes would not
...
respect their Clang types if the variables' values
were represented by DWARF constu values.
<rdar://problem/14636499>
llvm-svn: 192267
2013-10-09 02:32:37 +00:00
Craig Topper
bc749db947
Add in64BitMode/in32BitMode to the MMX/SSE2/AVX maskmovq/dq instructions. This way the asm parser will pick the right one based on the mode. Instruction selection already did the right thing based on the pointer size.
...
llvm-svn: 192266
2013-10-09 02:18:34 +00:00
Rafael Espindola
974efd3208
Add a paragraph about MCTargetStreamer.
...
llvm-svn: 192265
2013-10-09 02:05:08 +00:00
Sean Callanan
3e68903e58
Fixed a bug in the Materializer where we sent the
...
wrong information to ValueObjectConstResult.
<rdar://problem/15101795>
llvm-svn: 192264
2013-10-09 02:04:57 +00:00
Michael Sartain
704bf8912e
Clean up RegisterContextPOSIX i386 code.
...
Use 32-bit register enums without gaps on 64-bit hosts.
Don't show 64-bit registers when debugging 32-bit targets.
Add psuedo gpr registers (ax, ah, al, etc.)
Add mmx registers.
Fix TestRegisters.py to not read ymm15 register on 32-bit targets.
Fill out and move gcc/dwarf/gdb register enums to RegisterContext_x86.h
llvm-svn: 192263
2013-10-09 01:28:57 +00:00
NAKAMURA Takumi
7aaeaa06a0
llvm/test/LTO should run also on cygwin.
...
llvm-svn: 192262
2013-10-09 01:07:31 +00:00
Rui Ueyama
c6015f6476
Update error classes from all lowercase to camel case.
...
llvm-svn: 192261
2013-10-09 00:57:22 +00:00
Rui Ueyama
1c1b443997
Move a local variable into while-loop scope.
...
llvm-svn: 192260
2013-10-09 00:42:57 +00:00
Enrico Granata
b1c6c489ca
<rdar://problem/14923930>
...
Constant ValueObjects should clear their description as well as their summary. Rationale being that both can depend on deeper-than-constified data
so both are subject to changes in "unpredictable" ways
To see this consider repeatedly po'ing a persistent variable of a type whose -description result changes at each invocation
llvm-svn: 192259
2013-10-09 00:33:55 +00:00
David Majnemer
767c1f8428
Make wording for certain invalid unary expressions more consistent.
...
An invalid decltype expression like 'decltype int' gives:
error: expected '(' after 'decltype'
This makes it so 'sizeof int' gives a similar one:
error: expected parentheses around type name in sizeof expression
llvm-svn: 192258
2013-10-09 00:22:23 +00:00
Manman Ren
e4e12d0455
Debug Info: update testing cases when the context field of
...
DICompositeType is updated to use DIScopeRef.
Paired commit with r192256.
llvm-svn: 192257
2013-10-09 00:17:23 +00:00
Manman Ren
ea57f67fce
Debug Info: In DIBuilder, the context field of a DICompositeType is updated
...
to use DIScopeRef.
A paired commit at clang is required due to changes to DIBuilder.
llvm-svn: 192256
2013-10-09 00:17:04 +00:00
Enrico Granata
99c8f7ae79
<rdar://problem/15180638>
...
Making GetNumberOfDirectBaseClasses() work for ObjC pointers, and for classes for which we don't have full debug info
llvm-svn: 192255
2013-10-09 00:13:17 +00:00
Manman Ren
5f99ec0bf4
Debug Info: In DIBuilder, the context fields of a static member and a
...
typedef are updated to use DIScopeRef.
llvm-svn: 192254
2013-10-08 23:49:38 +00:00
Edwin Vane
f6a34b5665
clang-modernize: Clean up help output
...
Now hiding options clang-modernize doesn't use and didn't create. Version
printer specialized for clang-modernize. EXAMPLES text fixed and brought
up-to-date.
Differential Revision: http://llvm-reviews.chandlerc.com/D1849
llvm-svn: 192253
2013-10-08 23:31:05 +00:00
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