@@ -7574,30 +7573,38 @@ template void
LLVMELFDumper::printBBAddrMaps() {
continue;
}
for (const BBAddrMap &AM : *BBAddrMapOrErr) {
- DictScope D(W, "Function");
- W.printHex("At", AM.Addr);
+ DictScope FD(W, "Function");
+ if (AM.BBRanges.emp
@@ -719,60 +730,83 @@ decodeBBAddrMapImpl(const ELFFile &EF,
Feature = Data.getU8(Cur); // Feature byte
if (!Cur)
break;
- auto FeatEnableOrErr = PGOAnalysisMap::Features::decode(Feature);
+ auto FeatEnableOrErr = BBAddrMap::Features::decode(Featur
@@ -0,0 +1,89 @@
+; COM: Emitting basic-block-address-map when machine function splitting is
enabled.
+; RUN: llc < %s -mtriple=x86_64 -function-sections -split-machine-functions
-basic-block-address-map | FileCheck %s --check-prefixes=CHECK,BASIC
+
+; COM: Emitting basic-block-
https://github.com/red1bluelost commented:
Overall looks good to me so far, just two minor things and the merge conflict.
https://github.com/llvm/llvm-project/pull/74128
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi
https://github.com/red1bluelost edited
https://github.com/llvm/llvm-project/pull/74128
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -719,60 +730,83 @@ decodeBBAddrMapImpl(const ELFFile &EF,
Feature = Data.getU8(Cur); // Feature byte
if (!Cur)
break;
- auto FeatEnableOrErr = PGOAnalysisMap::Features::decode(Feature);
+ auto FeatEnableOrErr = BBAddrMap::Features::decode(Featur