Revert "Encode address offsets of basic blocks relative to the end of the previous...
authorRahman Lavaee <rahmanl@google.com>
Thu, 24 Feb 2022 20:29:08 +0000 (12:29 -0800)
committerRahman Lavaee <rahmanl@google.com>
Thu, 24 Feb 2022 21:31:15 +0000 (13:31 -0800)
commitaeec9671fb4cb0b3b221f0954a81f0cdb4b4764c
treece3d1a34c4e8e40bc5191ede5b13eff1e83577f1
parentda11f17e90a86525b8902f0812180799f8d8fca9
Revert "Encode address offsets of basic blocks relative to the end of the previous basic blocks."

This reverts commit 029283c1c0d8d06fbf000f5682c56b8595a1101f.
The code in `ELFFile::decodeBBAddrMap` was not changed in the submitted patch.

Differential Revision: https://reviews.llvm.org/D120457
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
llvm/lib/CodeGen/BasicBlockSections.cpp
llvm/test/CodeGen/X86/basic-block-sections-labels.ll
llvm/test/tools/llvm-readobj/ELF/bb-addr-map.test
llvm/tools/llvm-readobj/ELFDumper.cpp