Summary: BOLT works as a series of patches rebased onto upstream LLVM at revision `f137ed238db`. Some of these patches introduce unnecessary whitespace changes or includes. Remove these to minimize the diff with upstream LLVM.
Reviewed By: maksfb
Differential Revision: D15064122
fbshipit-source-id: 46fcef4d2e2
Summary:
llvm-dwarfdump is relying on getRelocatedSection() to return
section_end() for ELF files of types other than relocatable objects.
We've changed the function to return relocatable section for other
types of ELF files. As a result, llvm-dwarfdump started re-processing
relocations for sections that already had relocations applied, e.g. in
executable files, and this resulted in wrong values reported.
As a workaround/solution, we make this function return relocated section
for executable (and any non-relocatable objects) files only if the
section is allocatable.
Reviewed By: rafaelauler
Differential Revision: D8760175
fbshipit-source-id: db01395
Summary:
If the encoding is not specified in CIE augmentation string, then it
should be DW_EH_PE_absptr instead of DW_EH_PE_omit.
Reviewed By: rafaelauler
Differential Revision: D8740274
fbshipit-source-id: 20ffb31
Summary:
Ignore 'S' in augmentation string on input. It just marks a signal
frame. All we have to do is propagate it.
Fixes#21
This was already in LLVM trunk rL331738. Update llvm.patch.
Reviewed By: rafaelauler
Differential Revision: D8707222
fbshipit-source-id: 384b326