Commit Graph

5 Commits

Author SHA1 Message Date
Brian Gesiak
c94edca4d1 Minimize BOLT's diff with LLVM by removing trivial changes (NFC)
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
2019-04-24 12:16:29 -07:00
Maksim Panchenko
cec424cac9 Fix llvm-dwarfdump issues
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
2018-07-12 15:34:30 -07:00
Maksim Panchenko
5c238603e6 Change default value of FDEPointerEncoding
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
2018-07-05 16:06:44 -07:00
Maksim Panchenko
fc85092662 Accept S in augmentation strings in CIE
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
2018-07-02 10:36:36 -07:00
facebook-github-bot
4538c49c03 Initial commit
fbshipit-source-id: c8b37c380cac09d9178b92edb9a99cbf861a8334
2018-06-18 13:39:08 -07:00