| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 133648
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
toString() now takes an optional bool argument that,
depending on the radix, adds the appropriate prefix
to the integer's string representation that makes it into a
meaningful C literal, e.g.:
hexademical: '-f' becomes '-0xf'
octal: '77' becomes '077'
binary: '110' becomes '0b110'
Patch by nobled@dreamwidth.org!
llvm-svn: 133032
|
| |
|
|
|
|
| |
consistent. Patch by Julien Lerouge.
llvm-svn: 132931
|
| |
|
|
|
|
|
|
|
| |
Patch by: Jakub Staszak!
Introduces BranchProbability. Changes unsigned to uint32_t all over and
uint64_t only when overflow is expected.
llvm-svn: 132867
|
| |
|
|
| |
llvm-svn: 132772
|
| |
|
|
|
|
| |
integers with high 32 bits being zero.
llvm-svn: 132538
|
| |
|
|
| |
llvm-svn: 132395
|
| |
|
|
| |
llvm-svn: 132294
|
| |
|
|
|
|
|
| |
This is important for the correct lowering of unwind instructions
(which doesn't matter at all) and llvm.eh.resume calls (which does).
llvm-svn: 132291
|
| |
|
|
| |
llvm-svn: 131842
|
| |
|
|
| |
llvm-svn: 131829
|
| |
|
|
|
|
| |
info in the error message. Per Dan's request.
llvm-svn: 131780
|
| |
|
|
| |
llvm-svn: 131730
|
| |
|
|
| |
llvm-svn: 131606
|
| |
|
|
| |
llvm-svn: 131602
|
| |
|
|
| |
llvm-svn: 131600
|
| |
|
|
|
|
| |
tweak so that we don't depend on an uninitialized argument.
llvm-svn: 131581
|
| |
|
|
| |
llvm-svn: 131567
|
| |
|
|
|
|
| |
bonus inter-library dependencies.
llvm-svn: 131556
|
| |
|
|
|
|
| |
getHostTriple. This fixes a 32 bit clang running on a 64 bit ubuntu.
llvm-svn: 131463
|
| |
|
|
|
|
| |
s/DW_AT_APPLE_objc_class_extension/DW_AT_APPLE_objc_complete_type/g
llvm-svn: 131244
|
| |
|
|
|
|
| |
an attribute DW_AT_APPLE_objc_class_extension.
llvm-svn: 131238
|
| |
|
|
| |
llvm-svn: 131187
|
| |
|
|
|
|
|
|
|
| |
This change allows bugpoint to pinpoint the "opt" pass and bitcode
segment responsible for a crash caused by miscompilation. At least it
works well for me now, without having to create any custom execution
wrappers.
llvm-svn: 131186
|
| |
|
|
|
|
|
|
|
|
| |
comments claimed it did this, but the LHS value was actually an unused variable.
The new system considers only the '-foo' part when comparing it for typos
against flags that have values, but still look at the whole string for flags
that don't. That way, we'll still correct '-inst=combine' to '-instcombine'.
llvm-svn: 130685
|
| |
|
|
|
|
|
|
|
| |
instead of the versions of individual libraries.
autoconf: Add checking ELM_Callback decl for mingw32 and mingw-w64.
cmake/config-ix.cmake: Add checking ELM_Callback decl for win32.
llvm-svn: 130657
|
| |
|
|
| |
llvm-svn: 130510
|
| |
|
|
|
|
| |
malloc'ed or mmap'ed memory. This is for performance analysis.
llvm-svn: 130432
|
| |
|
|
|
|
| |
and it is just as easy to use StringRef::substr() preceding StringRef::compare() to achieve the same thing.
llvm-svn: 130430
|
| |
|
|
|
|
| |
patch by Johannes Schaub!
llvm-svn: 130151
|
| |
|
|
| |
llvm-svn: 130054
|
| |
|
|
| |
llvm-svn: 129975
|
| |
|
|
| |
llvm-svn: 129945
|
| |
|
|
| |
llvm-svn: 129852
|
| |
|
|
|
|
|
|
|
|
| |
used by Clang. To help Clang integration, the PTX target has been split
into two targets: ptx32 and ptx64, depending on the desired pointer size.
- Add GCCBuiltin class to all intrinsics
- Split PTX target into ptx32 and ptx64
llvm-svn: 129851
|
| |
|
|
|
|
| |
instead.
llvm-svn: 129836
|
| |
|
|
|
|
| |
Triple::OSX once Clang has moved.
llvm-svn: 129833
|
| |
|
|
| |
llvm-svn: 129815
|
| |
|
|
|
|
| |
enumeration values.
llvm-svn: 129814
|
| |
|
|
| |
llvm-svn: 129799
|
| |
|
|
| |
llvm-svn: 129798
|
| |
|
|
|
|
| |
memory a BumpPtrAllocator allocated.
llvm-svn: 129727
|
| |
|
|
|
|
| |
information generated for an interface.
llvm-svn: 129624
|
| |
|
|
|
|
| |
strncmp(). Unit tests also included.
llvm-svn: 129582
|
| |
|
|
|
|
| |
Luis Felipe Strano Moraes!
llvm-svn: 129558
|
| |
|
|
| |
llvm-svn: 129193
|
| |
|
|
| |
llvm-svn: 129002
|
| |
|
|
| |
llvm-svn: 128920
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
developers can see if their driver changed any cl::Option's. The
current implementation isn't perfect but handles most kinds of
options. This is nice to have when decomposing the stages of
compilation and moving between different drivers. It's also a good
sanity check when comparing results produced by different command line
invocations that are expected to produce the comparable results.
Note: This is not an attempt to prolong the life of cl::Option. On the
contrary, it's a placeholder for a feature that must exist when
cl::Option is replaced by a more appropriate framework. A new
framework needs: a central option registry, dynamic name lookup,
non-global containers of option values (e.g. per-module,
per-function), *and* the ability to print options values and their defaults at
any point during compilation.
llvm-svn: 128910
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Adds support for sniffing PE/COFF files on win32 (.exe and .dll)
which are COFF files that have an MS-DOS compatibility stub on
the front of them.
- Fixes a bug in the COFFObjectFile's support for the Microsoft COFF
extension for long symbol names, wherein it was attempting to parse
the leading '/' in an extended symbol name reference as part of the
integer offset.
- Fixes bugs in COFFObjectFile and ELFObjectFile wherein section
and symbol iterators were being returned with uninitialized bytes;
the type DataRefImpl is a union between 2 32-bit words (d.a and d.b)
and a single intptr_t word (p). Only p was being initialized, so in
32-bit builds the result would be iterators with random upper 32-bit
words in their DataRefImpls. This caused random failures when
seeking around in object files.
Patch by Graydon Hoare!
llvm-svn: 128799
|