[PATCH] D158429: Define BBEntry::hasIndirectBranch. NFC
Rahman Lavaee via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 21 08:32:58 PDT 2023
rahmanl created this revision.
Herald added a reviewer: jhenderson.
Herald added a project: All.
rahmanl requested review of this revision.
Herald added subscribers: llvm-commits, MaskRay.
Herald added a project: LLVM.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D158429
Files:
.gitignore
llvm/include/llvm/Object/ELFTypes.h
llvm/tools/llvm-readobj/ELFDumper.cpp
Index: llvm/tools/llvm-readobj/ELFDumper.cpp
===================================================================
--- llvm/tools/llvm-readobj/ELFDumper.cpp
+++ llvm/tools/llvm-readobj/ELFDumper.cpp
@@ -7471,7 +7471,7 @@
W.printBoolean("HasTailCall", BBE.hasTailCall());
W.printBoolean("IsEHPad", BBE.isEHPad());
W.printBoolean("CanFallThrough", BBE.canFallThrough());
- W.printBoolean("HasIndirectBranch", BBE.MD.HasIndirectBranch);
+ W.printBoolean("HasIndirectBranch", BBE.hasIndirectBranch());
}
}
}
Index: llvm/include/llvm/Object/ELFTypes.h
===================================================================
--- llvm/include/llvm/Object/ELFTypes.h
+++ llvm/include/llvm/Object/ELFTypes.h
@@ -856,6 +856,7 @@
bool hasTailCall() const { return MD.HasTailCall; }
bool isEHPad() const { return MD.IsEHPad; }
bool canFallThrough() const { return MD.CanFallThrough; }
+ bool hasIndirectBranch() const { return MD.HasIndirectBranch; }
};
std::vector<BBEntry> BBEntries; // Basic block entries for this function.
Index: .gitignore
===================================================================
--- .gitignore
+++ .gitignore
@@ -70,3 +70,4 @@
/clang/utils/analyzer/projects/*/RefScanBuildResults
# automodapi puts generated documentation files here.
/lldb/docs/python_api/
+plo/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158429.552033.patch
Type: text/x-patch
Size: 1365 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230821/c075a4cb/attachment.bin>
More information about the llvm-commits
mailing list