- Apr 26, 2014
-
-
David Blaikie authored
llvm-svn: 207237
-
Adrian Prantl authored
Debug info: Let dbg.values inserted by LowerDbgDeclare inherit the location of the dbg.value. This gets rid of tons of redundant variable DIEs in subscopes. rdar://problem/14874886, rdar://problem/16679936 llvm-svn: 207236
-
Adrian Prantl authored
AllocaInst that was missing in one location. Debug info for optimized code: Support variables that are on the stack and 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.ll testcase and included source rdar://problem/16679879 http://reviews.llvm.org/D3374 llvm-svn: 207235
-
Hans Wennborg authored
We would previously hit an assert if using /fallback with an .ll file. llvm-svn: 207234
-
Hans Wennborg authored
llvm-svn: 207233
-
- Apr 25, 2014
-
-
Marshall Clow authored
Added some tests for equal elements in min_element and max_element. Bug #19547 was invalid, but we weren't testing that case llvm-svn: 207232
-
David Blaikie authored
Slightly less blindly fixing clang-tools-extra now that I remember that the "check-clang" target doesn't check clang-tools-extra llvm-svn: 207231
-
David Blaikie authored
Blindly try to fix the clang-tools-extra build since my local build doesn't appear to be picking it up llvm-svn: 207230
-
David Blaikie authored
llvm-svn: 207229
-
Evgeniy Stepanov authored
llvm-svn: 207227
-
Tilmann Scheller authored
There's no need for local symbols to go through the GOT, in fact it seems GNU ld is not even emitting GOT entries for local symbols and will error out when trying to resolve a GOT relocation for a local symbol. This bug triggers when bootstrapping clang on AArch64 Linux with -fPIC and the ARM64 backend. The AArch64 backend is not affected. With this commit it's now possible to bootstrap clang on AArch64 Linux with the ARM64 backend (-fPIC, -O3). llvm-svn: 207226
-
Rafael Espindola authored
This reverts commit r207155. The test was still failing. llvm-svn: 207225
-
Evgeniy Stepanov authored
Add move fopen/freopen interceptors from TSan to common. llvm-svn: 207224
-
Kostya Serebryany authored
llvm-svn: 207223
-
Jiangning Liu authored
llvm-svn: 207222
-
Tim Northover authored
Also an unused variable, so double bonus! This should deal with PR19548. llvm-svn: 207221
-
Alexander Potapenko authored
llvm-svn: 207220
-
Bradley Smith authored
llvm-svn: 207219
-
Dmitry Vyukov authored
Fixes issue https://code.google.com/p/thread-sanitizer/issues/detail?id=45 llvm-svn: 207218
-
Chandler Carruth authored
SCCMap to test for nodes that have been re-added to the root SCC rather than a set vector. We already have done the SCCMap lookup, we juts need to test it in two different ways. In turn, do most of the processing of these nodes as they go into the root SCC rather than lazily. This simplifies the final loop to just stitch the root SCC into its children's parent sets. No functionlatiy changed. However, this makes a few things painfully obvious, which was my intent. =] There is tons of repeated code introduced here and elsewhere. I'm splitting the refactoring of that code into helpers from this change so its clear that this is the change which switches the datastructures used around, and the other is a pure factoring & deduplication of code change. llvm-svn: 207217
-
Dmitri Gribenko authored
It looks like on 18th April clang added dependency from clangCodeGen.a to LLVMProfileData.a and since then lldb have problem with linking to clangCodeGen.a due to missing symbols. This adds LLVMProfileData.a to USEDLIBS to fix that problem. Patch by Robert Matusewicz. llvm-svn: 207216
-
Kevin Qin authored
This patch is a supplement of implementing predicate of FP, enabling aarch64 backend no-fp tests on arm64 target for verification. During this, one bug is exposed and fixed by this patch. llvm-svn: 207215
-
Kevin Qin authored
According to the specification, CRC is an optional extension of the architecture. llvm-svn: 207214
-
Chandler Carruth authored
remove the nodes in the SCC from the SCC map entirely prior to the DFS walk. This allows the SCC map to represent both the state of not-yet-re-added-to-an-SCC and added-back-to-this-SCC independently. The first is being missing from the SCC map, the second is mapping back to 'this'. In a subsequent commit, I'm going to use this property to simplify the new node list for this SCC. In theory, I think this also makes the contract for orphaning a node from the graph slightly less confusing. Now it is also orphaned from the SCC graph. Still, this isn't quite right either, and so I'm not adding test cases here. I'll add test cases for the behavior of orphaning nodes when the code *actually* supports it. The change here is mostly incidental, my goal is simplifying the algorithm. llvm-svn: 207213
-
Chandler Carruth authored
child from the worklist, wait until we actually need to pop another element off of the worklist and skip over any that were already visited by the DFS. This also enables swapping the nodes of the SCC into the worklist. No functionality changed. llvm-svn: 207212
-
Dmitry Vyukov authored
llvm-svn: 207211
-
Kostya Serebryany authored
[asan] implement an experimental detector of ODR violations. Not tested yet outside of a tiny test, may need tuning. llvm-svn: 207210
-
Dmitry Vyukov authored
llvm-svn: 207209
-
Dmitry Vyukov authored
llvm-svn: 207208
-
Dmitry Vyukov authored
failure: http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-centos-6.5/builds/3747/steps/test/logs/stdio llvm-svn: 207207
-
Dmitry Vyukov authored
+ fixes crashes due to races on symbolizer, see https://code.google.com/p/thread-sanitizer/issues/detail?id=55 llvm-svn: 207206
-
Dmitry Vyukov authored
llvm-svn: 207205
-
Dmitry Vyukov authored
+ fixes crashes due to races on symbolizer, see: https://code.google.com/p/thread-sanitizer/issues/detail?id=55 llvm-svn: 207204
-
Justin Bogner authored
We don't assign counters for implicit Decls, but we were emitting code to increment the (non-existent) counters and adding empty counter lists in the output. This fixes the checks in assignRegionCounters and emitInstrumentationData to do the right thing, and adds an assert for the pathological case of emitting zero counters. llvm-svn: 207203
-
Chandler Carruth authored
thing, just mucking up the code. I feel bad that I even wrote this loop. Very sorry. The diff is huge because of the indent change, but I promise all this is doing is realizing that the outer two loops were actually the exact same loops, and we didn't need two of them. llvm-svn: 207202
-
Chandler Carruth authored
factored into a more reasonable form, replace the tail call with a simple outer-loop continuation. It's sad that C++ makes this so awkward to write, but it seems more direct and clear than the tail call at this point. llvm-svn: 207201
-
Saleem Abdulrasool authored
Change the object streamer selection to a switch from a series of if conditions. Rather than defaulting to ELF, require that an ELF format is requested. The Windows/!ELF is maintained as MachO would have been selected first and will still provide a MachO format. Add an assertion that if COFF is requested that the target platform is Windows as only WinCOFF object emission is currently supported. llvm-svn: 207200
-
Anders Waldenborg authored
The returnvalue was handled as c_char_p which ment that ctypes handled it as a NUL-terminated string making it cut the contents at first NUL (or even worse - overrunning the buffer if it doesn't contain a NUL). Differential Revision: http://reviews.llvm.org/D3474 llvm-svn: 207199
-
David Blaikie authored
Code review feedback from Paul Robinson on r207022 llvm-svn: 207198
-
Craig Topper authored
llvm-svn: 207197
-