[PATCH] D102664: [lld][MachO] Adjust isCodeSection signature
Alexander Shaposhnikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 17 22:10:25 PDT 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGdc2c6cf2749f: [lld][MachO] Adjust isCodeSection signature (authored by alexshap).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102664/new/
https://reviews.llvm.org/D102664
Files:
lld/MachO/InputSection.cpp
lld/MachO/InputSection.h
Index: lld/MachO/InputSection.h
===================================================================
--- lld/MachO/InputSection.h
+++ lld/MachO/InputSection.h
@@ -87,7 +87,7 @@
llvm::MachO::S_ATTR_DEBUG;
}
-bool isCodeSection(InputSection *);
+bool isCodeSection(const InputSection *);
extern std::vector<InputSection *> inputSections;
Index: lld/MachO/InputSection.cpp
===================================================================
--- lld/MachO/InputSection.cpp
+++ lld/MachO/InputSection.cpp
@@ -91,7 +91,7 @@
}
}
-bool macho::isCodeSection(InputSection *isec) {
+bool macho::isCodeSection(const InputSection *isec) {
uint32_t type = isec->flags & SECTION_TYPE;
if (type != S_REGULAR && type != S_COALESCED)
return false;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102664.346042.patch
Type: text/x-patch
Size: 764 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210518/6a6426ae/attachment.bin>
More information about the llvm-commits
mailing list