- Jun 05, 2013
-
-
Vincent Lejeune authored
Previously commited @183279 but tests were failing, reverted @183286 It was broken because @183336 was missing, now it's there. llvm-svn: 183343
-
Sean Silva authored
llvm-svn: 183342
-
Sean Silva authored
llvm-svn: 183341
-
Daniel Malea authored
- one test case is due to llvm.org/pr16229 - other test case uses a Linux workaround for above by using os.fork() instead of subprocess module Patch by Andy Kaylor! llvm-svn: 183340
-
Sean Silva authored
ELFOSABI_LINUX is a historical alias for ELFOSABI_GNU according to <http://www.sco.com/developers/gabi/latest/ch4.eheader.html>. llvm-svn: 183339
-
Rafael Espindola authored
llvm-svn: 183338
-
Rafael Espindola authored
The first symbol on ELF is dummy, but it has a defined content and readelf normally displays it. With this change llvm-readobj also displays it and we can check that llvm-mc output is correct according to the standard. llvm-svn: 183337
-
Vincent Lejeune authored
It allows regalloc pass to remove them by trivially assigning associated reg llvm-svn: 183336
-
Sean Silva authored
llvm-svn: 183335
-
Akira Hatanaka authored
llvm-svn: 183334
-
Daniel Malea authored
- specify compiler flag -stdlib=libstdc++ only if using clang (not supported in gcc) llvm-svn: 183333
-
Sean Silva authored
See the comment in yaml2obj.cpp for why this is currently needed. Eventually we can get rid of this, but for now it is needed in order to make forward progress with adding ELF support, and should be straightforward to remove later. Also, preserve the default of COFF, to avoid breaking existing tests. This policy can easily be changed later though. llvm-svn: 183332
-
Fariborz Jahanian authored
for -Wundeclared-selector warnings. // rdar://14039037 llvm-svn: 183331
-
David Blaikie authored
There seems to have been some erroneous code attempting to describe the ABI of parameters (non-trivial record parameters are passed by reference). This would break the type of the function (especially when it caused a mismatch between the type of a declaration & a definition) causing PR14763 and PR14645. llvm-svn: 183329
-
Jakub Staszak authored
llvm-svn: 183328
-
Michael Liao authored
Add earlyclobber constaints to prevent input register being allocated as the output register because, according to Intel spec [1], "If any pair of the index, mask, or destination registers are the same, this instruction results a UD fault." --- [1] http://software.intel.com/sites/default/files/319433-014.pdf llvm-svn: 183327
-
Rafael Espindola authored
With this patch we use the SectionIndex directly, instead of counting the number of symbol tables. This saves a DenseMap lookup every time we want to find which symbol a relocation refers to. Also simplify based on the fact that there is at most one SHT_SYMTAB and one SHT_DYNSYM. llvm-svn: 183326
-
Argyrios Kyrtzidis authored
When the template specialization header is missing, set a valid source location for the template keyword when recovering. Otherwise ClassTemplateSpecializationDecl::getSourceRange() will mistakenly consider itself as an implicit partial specialization and lead to a crash. Fixes rdar://14063074 llvm-svn: 183325
-
Peter Collingbourne authored
This is so that we can give destructor variants different linkage later. Differential Revision: http://llvm-reviews.chandlerc.com/D819 llvm-svn: 183324
-
rdar://problem/13125225Enrico Granata authored
Adding data formatters for std::set, std::multiset and std::multimap for libc++ The underlying data structure is the same as std::map, so this change is very minimal and mostly consists of test cases llvm-svn: 183323
-
Edwin Vane authored
r183274 accidentally added windows line endings to changed lines. Changing them back. llvm-svn: 183322
-
Arnold Schwaighofer authored
Reapply of 183258. llvm-svn: 183321
-
Pavel Labath authored
Summary: This adds two command-line parameters: -extra-arg and -extra-arg-before, which enable the user to pass additional parameters to the compiler command. Reviewers: klimek CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D919 llvm-svn: 183320
-
Arnold Schwaighofer authored
Add some generic SchedWrites and assign resources for Swift and Cortex A9. Reapply of r183257. (Removed empty InstRW for division on swift) llvm-svn: 183319
-
Reid Kleckner authored
Also addresses a review comment from John from on r180985 by removing the "== -1" check, since it's now reusing the correct code which has the comment. llvm-svn: 183318
-
Benjamin Kramer authored
llvm-svn: 183317
-
Matt Kopec authored
llvm-svn: 183316
-
Alexander Kornienko authored
llvm-svn: 183315
-
Arnold Schwaighofer authored
An instruction with less than 3 inputs is trivially a fast immediate shift. Reapply of 183256, should not have caused the tablegen segfault on linux either. llvm-svn: 183314
-
Ashok Thirumurthi authored
- Ensures that this container is populated once for the lifetime of lldb --- In particular, static methods can query this data even after the first RegisterContext has been destroyed. - Uses a singleton function to avoid global constructors. Thanks to Greg Clayton for the suggestion! llvm-svn: 183313
-
Alexander Kornienko authored
Summary: Detect if the file is valid UTF-8, and if this is the case, count code points instead of just using number of bytes in all (hopefully) places, where number of columns is needed. In particular, use the new FormatToken.CodePointCount instead of TokenLength where appropriate. Changed BreakableToken implementations to respect utf-8 character boundaries when in utf-8 mode. Reviewers: klimek, djasper Reviewed By: djasper CC: cfe-commits, rsmith, gribozavr Differential Revision: http://llvm-reviews.chandlerc.com/D918 llvm-svn: 183312
-
Arnold Schwaighofer authored
Don't output data if we are supposed to ignore the record. Reapply of 183255, I don't think this was causing the tablegen segfault on linux testers. llvm-svn: 183311
-
Timur Iskhodzhanov authored
Recommit r183298+r183300 'Get rid of VTableContext::ComputeMethodVTableIndices() and VTableContext::getNumVirtualFunctionPointers()' In r183298, I've used llvm::SmallPtrSet<..., 8> instead of llvm::SmallVector<..., 8> for NewVirtualFunctionsTy by mistake. This only manifested when a class had more than 8 virtual functions, which wasn't covered by unit-tests llvm-svn: 183310
-
Timur Iskhodzhanov authored
llvm-svn: 183309
-
Timur Iskhodzhanov authored
llvm-svn: 183308
-
Mihai Popa authored
According to the ARM reference manual, RRX(S) have defined encodings for lr, pc and sp. llvm-svn: 183307
-
Timur Iskhodzhanov authored
llvm-svn: 183306
-
Timur Iskhodzhanov authored
llvm-svn: 183305
-
Alexander Kornienko authored
Make clang tools ignore -fcolor-diagnostics and -fdiagnostics-color retrieved from the compilation database. Summary: Clang tools' diagnostic output could be force colored when a command line from the compilation database contains -fcolor-diagnostics or -fdiagnostics-color. This is not what we want e.g. for vim integration. Reviewers: klimek Reviewed By: klimek CC: cfe-commits, revane, jordan_rose Differential Revision: http://llvm-reviews.chandlerc.com/D917 llvm-svn: 183304
-
Sylvestre Ledru authored
The GNU/HURD is also using the libc. Therefor, endian.h should be included, not machine/endian.h. See full build log https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-3.3&arch=hurd-i386&ver=1%3A3.3~%2Brc3-1~exp1&stamp=1370358869 llvm-svn: 183303
-