[llvm] [BOLT][merge-fdata]Fix support for fdata files starting with no_lbr on ARM platform (PR #112328)

Amir Ayupov via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 28 12:24:40 PDT 2024


================
@@ -336,6 +345,8 @@ void mergeLegacyProfiles(const SmallVectorImpl<std::string> &Filenames) {
 
   if (BoltedCollection.value_or(false))
     output() << "boltedcollection\n";
+  if (NoLbr.value_or(false))
+    output() << NoLbrLabel << "\n";
----------------
aaupov wrote:

```suggestion
    output() << "no_lbr\n";
```

https://github.com/llvm/llvm-project/pull/112328


More information about the llvm-commits mailing list