- May 02, 2015
-
-
Quentin Colombet authored
rdar://problem/20748715 llvm-svn: 236346
-
Zachary Turner authored
llvm-svn: 236345
-
Nick Lewycky authored
Adjust the wording of the "brackets go after the unqualified-id" error message. It applies in cases that aren't unqualified-ids. llvm-svn: 236344
-
Zachary Turner authored
llvm-svn: 236343
-
Zachary Turner authored
This patch adds the --load-address command line option to llvm-pdbdump, which dumps all addresses assuming the module has loaded at the specified address. Additionally, this patch adds an option to llvm-pdbdump to support dumping of public symbols (i.e. symbols with external linkage). llvm-svn: 236342
-
Keno Fischer authored
This reapplies r235060 and 235070, which were reverted because of test failures in LLDB. The failure was caused because at moment RuntimeDyld is processing relocations for all sections, irrespective of whether we actually load them into memory or not, but RuntimeDyld was not actually remembering where in memory the unrelocated section is. This commit includes a fix for that issue by remembering that pointer, though the longer term fix should be to stop processing unneeded sections. Original Summary: This allows us to get rid of the original unrelocated object file after we're done processing relocations (but before applying them). MachO and COFF already do not require this (currently we have temporary hacks to prevent ownership from being released, but those are brittle and should be removed soon). The placeholder mechanism allowed the relocation resolver to look at original object file to obtain more information that are required to apply the relocations. This is usually necessary in two cases: - For relocations targetting sub-word memory locations, there may be pieces of the instruction at the target address which we should not override. - Some relocations on some platforms allow an extra addend to be encoded in their immediate fields. The problem is that in the second case the information cannot be recovered after the relocations have been applied once because they will have been overridden. In the first case we also need to be careful to not use any bits that aren't fixed and may have been overriden by applying a first relocation. In the past both have been fixed by just looking at original object file. This patch attempts to recover the information from the first by looking at the relocated object file, while the extra addend in the second case is read upon relocation processing and addend to the regular addend. I have tested this on X86. Other platforms represent my best understanding of how those relocations should work, but I may have missed something because I do not have access to those platforms. We will keep the ugly workarounds in place for a couple of days, so this commit can be reverted if it breaks the bots. Differential Revision: http://reviews.llvm.org/D9028 llvm-svn: 236341
-
Reid Kleckner authored
This reverts commit r236339, it breaks the win32 clang-cl self-host. llvm-svn: 236340
-
Reid Kleckner authored
This pass is responsible for constructing the EH registration object that gets linked into fs:00, which is all it does in this change. In the future, it will also insert stores to update the EH state number. I considered keeping this functionality in WinEHPrepare, but it's pretty separable and X86 specific. It has conceptually very little to do with the task of WinEHPrepare, which is currently outlining. WinEHPrepare is also in theory useful on ARM, but this logic is pretty x86 specific. Reviewers: andrew.w.kaylor, majnemer Differential Revision: http://reviews.llvm.org/D9422 llvm-svn: 236339
-
NAKAMURA Takumi authored
I'm dubious in weird behavior with CHECK-DAG. Also, it won't "REQUIRE non-ms-sdk". All of RUNs have "-triple darwin". llvm-svn: 236338
-
Kaelyn Takata authored
This is needed to ensure the type casts are parsed properly. Fixes PR23101. llvm-svn: 236337
-
Davide Italiano authored
The change is likely to be correct, but unrelated to the aforementioned commit and needs a test to gets shipped. Sorry. llvm-svn: 236336
-
Justin Bogner authored
llvm-svn: 236335
-
Davide Italiano authored
Change the test so that it tests the right functionality. Also put a description with the code from which the test was generated. Reported by Simon Atanasysan. llvm-svn: 236334
-
Pete Cooper authored
Converting from t2LDRs to tLDRr caused the shift argument to drop the internal flag. This would then throw machine verifier errors. Unfortunately i'm having trouble reducing a test case. I'm going to keep trying, but so far its a scary combination of machine sinking, an 'and i1', loads feeding loads, and a bunch of code which shouldn't change IT block formation, but does. Its not useful to commit a test in that state as we have no way of knowing if it even hits this code reliably in future. rdar://problem/20752113 llvm-svn: 236333
-
Douglas Katzman authored
llvm-svn: 236332
-
Alex Lorenz authored
This patch fixes a bug where the YAML Output class emitted a sequence of flow sequences without the '-' characters. Before: seq: [ a, b ] [ c, d ] After: seq: - [ a, b ] - [ c, d ] Reviewers: Justin Bogner Differential Revision: http://reviews.llvm.org/D9206 llvm-svn: 236329 -
Alex Lorenz authored
This patch adds the missing context parameter to the input and output methods in ScalarTraits. Differential Revision: http://reviews.llvm.org/D9173 llvm-svn: 236328
-
Peter Collingbourne authored
Functions with jump tables need an alignment of 4 because they use the ADR instruction, which aligns the PC to 4 bytes before adding an offset. Differential Revision: http://reviews.llvm.org/D9424 llvm-svn: 236327
-
Diego Novillo authored
Patch from dexonsmith. The call to toInt() was calling compareTo() which in some cases would call back to toInt(), creating an infinite loop. Fixed by simplifying the logic in compareTo() to avoid the co-recursion. llvm-svn: 236326
-
Jan Vesely authored
Signed-off-by:
Jan Vesely <jan.vesely@rutgers.edu> Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> llvm-svn: 236325
-
James Y Knight authored
Differential Revision: http://reviews.llvm.org/D9434 llvm-svn: 236324
-
Chaoren Lin authored
llvm-svn: 236323
-
http://reviews.llvm.org/D9263Douglas Katzman authored
"obviously" it needs to go in parseArch *and* getArchTypeForLLVMName. Differential Revision: http://reviews.llvm.org/D9436 llvm-svn: 236322
-
Chaoren Lin authored
Summary: This change introduces a new URL scheme for `platform connect`: ``` adb://device-id:port ``` Reviewers: vharron, tberghammer, clayborg, ovyalov Reviewed By: ovyalov Subscribers: tberghammer, lldb-commits Differential Revision: http://reviews.llvm.org/D9358 llvm-svn: 236321
-
Chaoren Lin authored
Summary: This addresses Oleksiy's comment in D9307. Reviewers: clayborg, ovyalov Reviewed By: clayborg, ovyalov Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D9405 llvm-svn: 236320
-
Derek Schuff authored
Summary: The spec for these functions says that they should return 0 in this case but this regressed in r234148. That revision essentially delegates the conversion to the hardware, but that has different behavior on different platforms (e.g. it is wrong on x86). Also fix a typo in the name of __fixunsdfti Test Plan: The existing unit tests now pass Reviewers: joerg, howard.hinnant Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D9305 llvm-svn: 236319
-
- May 01, 2015
-
-
Benjamin Kramer authored
No functionality change. Found by -Wpessimizing-move. llvm-svn: 236318
-
Benjamin Kramer authored
No functionality change. Found by -Wpessimizing-move. llvm-svn: 236317
-
Benjamin Kramer authored
Found by -Wpessimizing-move, no functional change. The APFloat and PassManager change doesn't affect codegen as returning a by-value argument will always result in a move. llvm-svn: 236316
-
Benjamin Kramer authored
llvm-svn: 236315
-
Simon Atanasyan authored
No functional changes. llvm-svn: 236314
-
Toma Tabacu authored
Summary: LI should never accept immediates larger than 32 bits. The additional Is32BitImm boolean also paves the way for unifying the functionality that LA and LI have in common. Reviewers: dsanders Reviewed By: dsanders Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D9289 llvm-svn: 236313
-
Niels Ole Salscheider authored
llvm-svn: 236312
-
Toma Tabacu authored
Summary: Generate one DSLL32 of 0 instead of two consecutive DSLL of 16. In order to do this I had to change createLShiftOri's template argument from a bool to an unsigned. This also gave me the opportunity to rewrite the mips64-expansions.s test, as it was testing the same cases multiple times and skipping over other cases. It was also somewhat unreadable, as the CHECK lines were grouped in a huge block of text at the beginning of the file. Reviewers: dsanders Reviewed By: dsanders Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D8974 llvm-svn: 236311
-
NAKAMURA Takumi authored
llvm-svn: 236310
-
NAKAMURA Takumi authored
Revert r236001, "Disable clang-tools-extra/test/pp-trace/pp-trace-modules.cpp on win32 for now. Investigating." It has been resolved. llvm-svn: 236309
-
Simon Pilgrim authored
This patch fixes issues with vector constant folding not correctly handling scalar input operands if they require implicit truncation - this was tested with llvm-stress as recommended by Patrik H Hagglund. The patch ensures that integer input scalars from a build vector are correctly truncated before folding, and that constant integer scalar results are promoted to a legal type before inclusion in the new folded build vector. I have added another crash test case and also a test for UINT_TO_FP / SINT_TO_FP using an non-truncated scalar input, which was failing before this patch. Differential Revision: http://reviews.llvm.org/D9282 llvm-svn: 236308
-
Tom Stellard authored
When SI_KILL has a register operand, its lowered form writes to vcc. llvm-svn: 236307
-
Tom Stellard authored
This pass was generating 'Instruction does not dominate all uses!' errors for programs which had loops with a condition variable that depended on the result of a phi instruction from outside of the loop. The pass was inserting new phi nodes outside of the loop which used values defined inside the loop. http://bugs.freedesktop.org/show_bug.cgi?id=90056 llvm-svn: 236306
-
Yunzhong Gao authored
llvm-svn: 236301
-