Use getImageBase() helper to compute the image base. Fix various offsets/addresses/masks so they're actually correct.
This allows decoding unwind info from DLLs, and from object files containing multiple functions.
| Paths 
 |  Differential  D54015  
[AArch64] [Windows] Misc fixes for llvm-readobj -unwind. ClosedPublic Authored by efriedma on Nov 1 2018, 5:27 PM. 
Details Summary Use getImageBase() helper to compute the image base. Fix various offsets/addresses/masks so they're actually correct. This allows decoding unwind info from DLLs, and from object files containing multiple functions. 
Diff Detail 
 Event TimelineHerald added subscribers: kristina, chrib, kristof.beyls, javed.absar.  ·  View Herald TranscriptNov 1 2018, 5:27 PM This revision is now accepted and ready to land.Nov 1 2018, 5:49 PM Closed by commit rL346036: [AArch64] [Windows] Misc fixes for llvm-readobj -unwind. (authored by efriedma).  ·  Explain WhyNov 2 2018, 1:01 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 172418 llvm/trunk/include/llvm/Support/ARMWinEH.h
 llvm/trunk/test/tools/llvm-readobj/arm64-win-error1.s
 llvm/trunk/tools/llvm-readobj/ARMWinEHPrinter.cpp
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||