- Apr 25, 2014
-
-
Adrian Prantl authored
This reverts commit 207130 for buildbot breakage. llvm-svn: 207162
-
Jason Molenda authored
llvm-svn: 207161
-
Jason Molenda authored
currently associated with a given thread, on relevant targets. Change the queue detection code to verify that the queues associated with all live threads are included in the list. <rdar://problem/16411314> llvm-svn: 207160
-
Adrian Prantl authored
This reverts commit 207130 for buildbot breakage. llvm-svn: 207159
-
Richard Smith authored
llvm-svn: 207158
-
Richard Smith authored
llvm-svn: 207157
-
Alexey Samsonov authored
llvm-svn: 207156
-
Reid Kleckner authored
llvm-svn: 207155
-
Rui Ueyama authored
llvm-svn: 207154
-
Alexey Samsonov authored
[DWARF parser] DWARFUnit ctor doesn't need both parsed and raw .debug_abbrev section. Remove the former. llvm-svn: 207153
-
Richard Smith authored
after we've already instantiated a definition for the function, pass it to the ASTConsumer again so that it knows the specialization kind has changed and can update the function's linkage. This only matters if we instantiate the definition of the function before we reach the end of the TU; this can happen in at least three different ways: C++11 constexpr functions, C++14 deduced return types, and functions instantiated within modules. llvm-svn: 207152
-
Alexey Samsonov authored
llvm-svn: 207151
-
Greg Clayton authored
llvm-svn: 207150
-
- Apr 24, 2014
-
-
Greg Clayton authored
llvm-svn: 207149
-
Sean Callanan authored
values of variables in the Materializer. The Materializer should not write the variable back if its new value is the *same* as the old value, not if the new value is *different*. <rdar://problem/16712205> llvm-svn: 207148
-
Chandler Carruth authored
condition into an obviously infinite loop with an assert about the degenerate condition. No functionality changed. llvm-svn: 207147
-
Chandler Carruth authored
Based on review feedback from Dave on the original patch. llvm-svn: 207146
-
Benjamin Kramer authored
Should unbreak MultiSource/Benchmarks/mediabench/g721/g721encode/encode. llvm-svn: 207145
-
Reid Kleckner authored
MSVC doesn't diagnose this, interestingly. llvm-svn: 207144
-
Reid Kleckner authored
This is similar to the 'tail' marker, except that it guarantees that tail call optimization will occur. It also comes with convervative IR verification rules that ensure that tail call optimization is possible. Reviewers: nicholas Differential Revision: http://llvm-reviews.chandlerc.com/D3240 llvm-svn: 207143
-
Reid Kleckner authored
llvm-svn: 207142
-
Rui Ueyama authored
This patch is to fix a compatibility issue with MSVC link.exe as to use of dllexported symbols inside DLL. A DLL exports two symbols for a function. One is non-decorated one, and the other is with __imp_ prefix. The former is a function that you can directly call, and the latter is a pointer to the function. These dllexported symbols are created by linker for programs that link against the DLL. So, I naturally believed that __imp_ symbols become available when you once create a DLL and link against it, but they don't exist until then. And that's not true. MSVC link.exe is smart enough to allow users to use __imp_ symbols locally. That is, if a symbol is specified with /export option, it implicitly creates a new symbol with __imp_ prefix as a pointer to the exported symbol. This feature allows the following program to be linked and run, although _imp__hello is not defined in this code. #include <stdio.h> __declspec(dllexport) void hello(void) { printf("Hello\n"); } extern void (*_imp__hello)(void); int main() { _imp__hello(); return 0; } MSVC link.exe prints out the following warning when linking it. LNK4217: locally defined symbol _hello imported in function _main Using __imp_ symbols locally is I think not a good coding style. One should just take an address using "&" operator rather than appending __imp_ prefix. However, there are programs in the wild that depends on this link.exe's behavior, so we need this feature. llvm-svn: 207141
-
Justin Bogner authored
llvm-svn: 207140
-
Greg Clayton authored
Fixed an issue where we would try to interrupt a process while it is in the process of naturally stopping due to another reason (breakpoint, or step). Added a new MachProcess::Interrupt() which correctly tracks such cases and "does the right thing". <rdar://problem/16593556> llvm-svn: 207139
-
Nico Weber authored
llvm-svn: 207138
-
Nico Weber authored
llvm-svn: 207137
-
Richard Smith authored
llvm-svn: 207136
-
Adrian Prantl authored
of the dbg.value. This gets rid of tons of redundant variable DIEs in subscopes. rdar://problem/14874886, rdar://problem/16679936 llvm-svn: 207135
-
Hans Wennborg authored
Since r207132, these are defined in ia32intrin.h. llvm-svn: 207134
-
Richard Smith authored
rather than by adding an overload and hoping that it's declared before the code that calls it. (In a modules build, it isn't.) llvm-svn: 207133
-
Andrea Di Biagio authored
This patch: 1. Adds a definition for two new GCCBuiltins in BuiltinsX86.def: __builtin_ia32_rdtsc; __builtin_ia32_rdtscp; 2. Replaces the already existing definition of intrinsic __rdtsc in ia32intrin.h with a simple call to the new GCC builtin __builtin_ia32_rdtsc. 3. Adds a definition for the new intrinsic __rdtscp in ia32intrin.h llvm-svn: 207132
-
Peter Collingbourne authored
Add dfsan_set_write_callback(), which sets a callback to be invoked when a write() call is invoked within DFSan instrumented code. Patch by Sam Kerner! Differential Revision: http://reviews.llvm.org/D3268 llvm-svn: 207131
-
Adrian Prantl authored
described by DBG_VALUEs during their lifetime. Previously, when a variable was at a FrameIndex for any part of its lifetime, this would shadow all other DBG_VALUEs and only a single fbreg location would be emitted, which in fact is only valid for a small range and not the entire lexical scope of the variable. The included dbg-value-const-byref testcase demonstrates this. This patch fixes this by Local - emitting dbg.value intrinsics for allocas that are passed by reference - dropping all dbg.declares (they are now fully lowered to dbg.values) SelectionDAG - renamed constructors for SDDbgValue for better readability. - fix UserValue::match() to handle indirect values correctly - not inserting an MMI table entries for dbg.values that describe allocas. - lowering dbg.values that describe allocas into *indirect* DBG_VALUEs. CodeGenPrepare - leaving dbg.values for an alloca were they are (see comment) Other - regenerated/updated instcombine-intrinsics testcase and included source rdar://problem/16679879 http://reviews.llvm.org/D3374 llvm-svn: 207130
-
Enrico Granata authored
llvm-svn: 207129
-
Jordan Rose authored
Also, use the enum type in the switch so this doesn't happen again. PR19523 llvm-svn: 207128
-
Andrea Di Biagio authored
This patch: - Adds two new X86 builtin intrinsics ('int_x86_rdtsc' and 'int_x86_rdtscp') as GCCBuiltin intrinsics; - Teaches the backend how to lower the two new builtins; - Introduces a common function to lower READCYCLECOUNTER dag nodes and the two new rdtsc/rdtscp intrinsics; - Improves (and extends) the existing x86 test 'rdtsc.ll'; now test 'rdtsc.ll' correctly verifies that both READCYCLECOUNTER and the two new intrinsics work fine for both 64bit and 32bit Subtargets. llvm-svn: 207127
-
Matt Arsenault authored
llvm-svn: 207126
-
Rui Ueyama authored
Not all symbols are decorated with an underscore in x86. You can write undecorated symbols in assembly, for example. Thus this assertion is too strong. llvm-svn: 207125
-
David Blaikie authored
I discovered this const-hole while attempting to coalesnce the Symbol and SymbolMap data structures. There's some pending issues with that, but I figured this change was easy to flush early. llvm-svn: 207124
-
Matheus Almeida authored
llvm-svn: 207123
-