|  | Commit message (Collapse) | Author | Age | Files | Lines | 
|---|
| | 
| 
| 
| 
| 
| | No functionality change intended, maybe a tiny performance improvement.
llvm-svn: 270997 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | CIE augmentation data might contain non-printable characters.
The patch prints the data as a list of hex bytes.
Differential Revision: http://reviews.llvm.org/D17759
llvm-svn: 262361 | 
| | 
| 
| 
| 
| 
| 
| | The waring was:
lib/DebugInfo/DWARF/DWARFDebugFrame.cpp:643:20: warning: variable ‘LSDA’ set but not used
llvm-svn: 259877 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | MCJIT emits zero-length CIE at the end of the _eh_frame section. This change
ensures that parser inside DebugInfo will not crash and correctly record such cases.
We are now recording DW_EH_PE_omit as a default value for FDE and LSDA encodings.
Also Offset != EndAugmentationOffset assertion check will only happen if augmentation 
string had 'z' letter in it.
Differential Revision: http://reviews.llvm.org/D16588
llvm-svn: 258931 | 
| | 
| 
| 
| 
| 
| 
| | Originally this change was causing failures on windows buildbots.
But those problems were fixed in r258806.
llvm-svn: 258811 | 
| | 
| 
| 
| 
| 
| 
| 
| | We can't rely on the evalution order of function arguments.
Differential Revision: http://reviews.llvm.org/D16509
llvm-svn: 258806 | 
| | 
| 
| 
| 
| 
| 
| 
| | This reverts commit r256008.
Its breaking multiple buildbots, although works for me locally.
llvm-svn: 256013 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | LLVM MC has single methods which can handle the output of EH frame and DWARF CIE's and FDE's.
This code improves DWARFDebugFrame::parse to do the same for parsing.
This also allows llvm-objdump to support the --dwarf=frames option which objdump supports.  This
option dumps the .eh_frame section using the new code in DWARFDebugFrame::parse.
http://reviews.llvm.org/D15535
Reviewed by Rafael Espindola.
llvm-svn: 256008 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | dwarf-4
The DWARF-4 specification added 2 new fields in the CIE header called
address_size and segment_size.
Create these 2 new fields when generating dwarf-4 CIE entries, print out
the new fields when dumping the CIE and update tests
Differential Revision: http://reviews.llvm.org/D9558
llvm-svn: 237145 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | The patch is generated using clang-tidy misc-use-override check.
This command was used:
  tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py \
    -checks='-*,misc-use-override' -header-filter='llvm|clang' \
    -j=32 -fix -format
http://reviews.llvm.org/D8925
llvm-svn: 234679 | 
| | 
| 
| 
| 
| 
| | NFC.
llvm-svn: 232976 | 
| | 
| 
| 
| | llvm-svn: 230559 | 
| | 
| 
| 
| 
| 
| | It seems ArrayRefs to multi-dimensional arrays confuse some compilers.
llvm-svn: 230554 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | This adds support for pretty-printing instruction operands. The new
output looks like:
00000000 00000010 ffffffff CIE
  Version:               1
  Augmentation:
  Code alignment factor: 1
  Data alignment factor: -4
  Return address column: 8
  DW_CFA_def_cfa:  reg4 +4
  DW_CFA_offset:  reg8 -4
  DW_CFA_nop:
  DW_CFA_nop:
00000014 00000010 00000000 FDE cie=00000000 pc=00000000...00000022
  DW_CFA_advance_loc:  3
  DW_CFA_def_cfa_offset:  +12
  DW_CFA_nop:
llvm-svn: 230551 | 
| | 
| 
| 
| 
| 
| 
| | CIE pointers were never filled in before, and printing the pointer
is totally pointless anyway.
llvm-svn: 230550 | 
| | 
| 
| 
| 
| 
| 
| | Move the FrameEntry::dumpInstructions down in the file at some
place where it can see the declarations of FDE and CIE.
llvm-svn: 230549 | 
| | 
| 
| 
| 
| 
| | To be used for dumping.
llvm-svn: 230548 | 
| | 
| 
| 
| 
| 
| 
| 
| | This is the first commit in a small series aiming at making
debug_frame dump more useful (right now it prints a list of
opeartions without their operands).
llvm-svn: 230547 | 
|  | In preparation for adding PDB support to LLVM, this moves the
DWARF parsing code to its own subdirectory under DebugInfo, and
renames LLVMDebugInfo to LLVMDebugInfoDWARF.
This is purely a mechanical / build system change.
Differential Revision: http://reviews.llvm.org/D7269
Reviewed by: Eric Christopher
llvm-svn: 227586 |