| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 147615
|
|
|
|
|
|
|
|
|
|
| |
assert("error");
to:
assert(0 && "error");
llvm-svn: 139449
|
|
|
|
| |
llvm-svn: 108520
|
|
|
|
|
|
|
| |
to unsigned only to extend back to a pointer sized value on the
next line.
llvm-svn: 107139
|
|
|
|
|
|
|
| |
a null pointer for functions with no jump tables. No functionality
change.
llvm-svn: 94469
|
|
|
|
| |
llvm-svn: 92498
|
|
|
|
| |
llvm-svn: 79763
|
|
|
|
| |
llvm-svn: 79476
|
|
|
|
|
|
|
| |
Use MCSectionELF methods as much as possible, removing some
ELFWriter methods which are now unused
llvm-svn: 78940
|
|
|
|
|
|
|
|
|
|
|
|
| |
a dirty hack and isn't need anymore since the last x86 code emitter patch)
- Add a target-dependent modifier to addend calculation
- Use R_X86_64_32S relocation for X86::reloc_absolute_word_sext
- Use getELFSectionFlags whenever possible
- fix getTextSection to use TLOF and emit the right text section
- Handle global emission for static ctors, dtors and Type::PointerTyID
- Some minor fixes
llvm-svn: 78176
|
|
|
|
| |
llvm-svn: 77354
|
|
|
|
| |
llvm-svn: 77232
|
|
|
|
|
|
|
|
|
|
| |
- Some clients which used DOUT have moved to DEBUG. We are deprecating the
"magic" DOUT behavior which avoided calling printing functions when the
statement was disabled. In addition to being unnecessary magic, it had the
downside of leaving code in -Asserts builds, and of hiding potentially
unnecessary computations.
llvm-svn: 77019
|
|
|
|
|
|
|
|
| |
their appropriate sections before the code itself. They need to be emitted
before the function because on some targets (x86 but not x86_64) the later
may reference a JT or CP entry address
llvm-svn: 76672
|
|
|
|
|
|
|
| |
global declared symbols are initialized with references from other global
symbols.
llvm-svn: 76540
|
|
|
|
|
|
| |
usage inside getSection* functions
llvm-svn: 76347
|
|
|
|
| |
llvm-svn: 76334
|
|
|
|
|
|
|
| |
Use proper relocation type to build relocations for JumpTables (rodata
sections).
llvm-svn: 76326
|
|
|
|
|
|
| |
we care more about random access than insertion/deletion of elements.
llvm-svn: 75828
|
|
|
|
|
|
|
|
|
| |
This adds location info for all llvm_unreachable calls (which is a macro now) in
!NDEBUG builds.
In NDEBUG builds location info and the message is off (it only prints
"UREACHABLE executed").
llvm-svn: 75640
|
|
|
|
| |
llvm-svn: 75537
|
|
|
|
|
|
|
|
|
| |
Make llvm_unreachable take an optional string, thus moving the cerr<< out of
line.
LLVM_UNREACHABLE is now a simple wrapper that makes the message go away for
NDEBUG builds.
llvm-svn: 75379
|
|
|
|
| |
llvm-svn: 74821
|
|
|
|
| |
llvm-svn: 74760
|
|
|
|
| |
llvm-svn: 74718
|
|
|
|
|
|
| |
alignment method
llvm-svn: 74686
|
|
|
|
|
|
| |
Add section symbols to the symbol table
llvm-svn: 74170
|
|
|
|
|
|
|
|
| |
Support for .text relocations, implementing TargetELFWriter overloaded methods for x86/x86_64.
Use a map to track global values to their symbol table indexes
Code cleanup and small fixes
llvm-svn: 73894
|
|
|
|
|
|
| |
BinaryObject.h by Aaron Gray
llvm-svn: 73333
|
|
|
|
|
|
|
|
| |
Emission for globals, using the correct data sections
Function alignment can be computed for each target using TargetELFWriterInfo
Some small fixes
llvm-svn: 73201
|
|
|
|
|
|
| |
relocation sections.
llvm-svn: 73038
|
|
|
|
|
|
| |
comments added
llvm-svn: 72982
|
|
|
|
|
|
|
| |
MachO Writer. This will change with the arrival of ObjectCodeEmitter and
BinaryObject
llvm-svn: 72906
|
|
llvm-svn: 72785
|