- Jul 05, 2015
-
-
Nemanja Ivanovic authored
This patch corresponds to review: http://reviews.llvm.org/D10874 Back end portion of the second round of additions to altivec.h. llvm-svn: 241398
-
Rui Ueyama authored
llvm-svn: 241397
-
Rui Ueyama authored
/merge:.foo=.bar makes the linker to merge section .foo with section .bar. llvm-svn: 241396
-
Sanjay Patel authored
llvm-svn: 241395
-
- Jul 04, 2015
-
-
Simon Pilgrim authored
Followup to D10433 and D10589 that fixes i8/i16 uint2fp vector conversions by zero extending to i32 and using the sint2fp path (unless the target does actually support uint2fp). llvm-svn: 241394
-
Sanjay Patel authored
Although this does cut the number of traces recomputed by ~10% for the test case mentioned in http://reviews.llvm.org/D10460, it doesn't make a dent in the overall performance. That example needs to be more selective when invalidating traces. llvm-svn: 241393
-
Yaron Keren authored
llvm-svn: 241392
-
Peter Collingbourne authored
We were previously hitting assertion failures in the writer in cases where a regular object file defined a weak external symbol that was defined by a bitcode file. Because /export and /entry name mangling were implemented using weak externals, the same problem affected mangled symbol names in bitcode files. The underlying cause of the problem was that weak external symbols were being resolved before doing LTO, so the symbol table may have contained stale references to bitcode symbols. The fix here is to defer weak external symbol resolution until after LTO. Also implement support for weak external symbols in bitcode files by modelling them as replaceable DefinedBitcode symbols. Differential Revision: http://reviews.llvm.org/D10940 llvm-svn: 241391
-
Bruce Mitchener authored
Summary: Use string::find(char) for single character strings. Reviewers: abidh, ki.stfu, clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D10943 llvm-svn: 241390
-
Peter Collingbourne authored
This is needed for COFF linkers to distinguish between weak external aliases and regular symbols with LLVM weak linkage, which are represented as strong symbols in COFF. llvm-svn: 241389
-
Rui Ueyama authored
This reverts commit r241386 because the issue is addressed in LLVM (r241387). llvm-svn: 241388
-
Rui Ueyama authored
llvm-svn: 241387
-
Rui Ueyama authored
Looks like clang-cl sets a bogus value to the field, which makes getSectionContents() to truncate section contents. This patch directly uses SizeOfRawData field instead of VirtualSize to see if this can make buildbot green. llvm-svn: 241386
-
Rui Ueyama authored
llvm-svn: 241385
-
Rui Ueyama authored
llvm-svn: 241384
-
Lang Hames authored
Requested by Eugene Rozenfeld of the LLILC team, this feature allows JIT clients to skip relocations for selected external symbols by returning ~0ULL from their symbol resolver. If this value is returned for a given symbol, RuntimeDyld will skip all relocations for that symbol. The client will be responsible for applying the skipped relocations manually before the code is executed. llvm-svn: 241383
-
Rui Ueyama authored
GC root may have non-regular defined symbols, such as DefinedImportThunk, so this cast<> was a wrong assumption. llvm-svn: 241382
-
Craig Topper authored
llvm-svn: 241381
-
Matt Arsenault authored
llvm-svn: 241380
-
Rui Ueyama authored
llvm-svn: 241379
-
Simon Atanasyan authored
llvm-svn: 241378
-
Simon Atanasyan authored
SHT_NOBITS sections do not have content in an object file. Now the yaml2obj tool does not accept `Content` field for such sections, and the obj2yaml tool does not attempt to read the section content from a file. Restore r241350 and r241352. llvm-svn: 241377
-
Peter Collingbourne authored
This worked before, but only by accident, and only with assertions disabled. We ended up storing a DefinedRegular symbol in the WeakAlias field, and never using it as an Undefined. Differential Revision: http://reviews.llvm.org/D10934 llvm-svn: 241376
-
Rafael Espindola authored
llvm-svn: 241375
-
Rafael Espindola authored
llvm-svn: 241374
-
Rafael Espindola authored
llvm-svn: 241373
-
Rafael Espindola authored
Is anyone using those? llvm-svn: 241372
-
Adhemerval Zanella authored
This patch reimplements ELFLinkingContext::getDefaultInterpreter for aarch64 with correct loader name. It is required to exclude the loader from DT_NEEDED in shared library creation. llvm-svn: 241371
-
Adhemerval Zanella authored
This patch reimplements ELFLinkingContext::getDefaultInterpreter for aarch64 with correct loader name. It is required to exclude the loader from DT_NEEDED in shared library creation. llvm-svn: 241370
-
Filipe Cabecinhas authored
Summary: Looking at r241279, I noticed that UpgradedIntrinsics only gets written to in the following code: if (UpgradeIntrinsicFunction(&F, NewFn)) UpgradedIntrinsics[&F] = NewFn; Looking through UpgradeIntrinsicFunction, we always return false OR NewFn will be set to a different function from our source. This patch pulls the F != NewFn into UpgradeIntrinsicFunction as an assert, and removes the check from callers of UpgradeIntrinsicFunction. Reviewers: rafael, chandlerc Subscribers: llvm-commits-list Differential Revision: http://reviews.llvm.org/D10915 llvm-svn: 241369 -
Simon Pilgrim authored
Ensure that i686 x87/SSE/SSE2 targets all build. llvm-svn: 241368
-
Benjamin Kramer authored
llvm-svn: 241367
-
Rafael Espindola authored
It can fail trying to get the section on ELF and COFF. This makes sure the error is handled. llvm-svn: 241366
-
Rafael Espindola authored
llvm-svn: 241365
-
Rafael Espindola authored
In MachO the value of the symbol is always the address, so we can use the simpler function. llvm-svn: 241364
-
Birunthan Mohanathas authored
The MacroBlockBegin and MacroBlockEnd options make matching macro identifiers behave like '{' and '}', respectively, in terms of indentation. Mozilla code, for example, uses several macros that begin and end a scope. Previously, Clang-Format removed the indentation resulting in: MACRO_BEGIN(...) MACRO_ENTRY(...) MACRO_ENTRY(...) MACRO_END Now, using the options MacroBlockBegin: "^[A-Z_]+_BEGIN$" MacroBlockEnd: "^[A-Z_]+_END$" will yield the expected result: MACRO_BEGIN(...) MACRO_ENTRY(...) MACRO_ENTRY(...) MACRO_END Differential Revision: http://reviews.llvm.org/D10840 llvm-svn: 241363 -
Renato Golin authored
This reverts commit r241343, as it was, again, breaking all ARM buildbots. llvm-svn: 241362
-
Ed Maste authored
llvm-svn: 241361
-
- Jul 03, 2015
-
-
Bruce Mitchener authored
Summary: Many places should have been using size_t rather than MIuint or MIint. This is particularly true for code that uses std::string::find(), std::string::rfind(), std::string::size(), and related methods. Reviewers: abidh, ki.stfu, domipheus Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D10931 llvm-svn: 241360
-
Bruce Mitchener authored
Summary: Remove unnecessary const_cast. Reviewers: abidh, ki.stfu Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D10928 llvm-svn: 241359
-