Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

patches: do not optimize "BAKERY" placeholder out #199

Merged
merged 1 commit into from
Jun 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions patches/node.v12.22.1.cpp.patch
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,9 @@ index 0000000000..fb2d47f52b
+ "// BAKERY // BAKERY // BAKERY // BAKERY // BAKERY // BAKERY " \
+ "// BAKERY // BAKERY // BAKERY // BAKERY // BAKERY // BAKERY ";
+
+#ifdef __clang__
+__attribute__((optnone))
+#endif
+int reorder(int argc, char** argv) {
+ int i;
+ char** nargv = new char*[argc + 64];
Expand Down
3 changes: 3 additions & 0 deletions patches/node.v14.17.0.cpp.patch
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,9 @@ index 0000000000..fb2d47f52b
+ "// BAKERY // BAKERY // BAKERY // BAKERY // BAKERY // BAKERY " \

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, let's add more

+ "// BAKERY // BAKERY // BAKERY // BAKERY // BAKERY // BAKERY ";
+
+#ifdef __clang__
+__attribute__((optnone))
+#endif
+int reorder(int argc, char** argv) {
+ int i;
+ char** nargv = new char*[argc + 64];
Expand Down
3 changes: 3 additions & 0 deletions patches/node.v16.3.0.cpp.patch
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,9 @@ index 0000000000..fb2d47f52b
+ "// BAKERY // BAKERY // BAKERY // BAKERY // BAKERY // BAKERY " \
+ "// BAKERY // BAKERY // BAKERY // BAKERY // BAKERY // BAKERY ";
+
+#ifdef __clang__
+__attribute__((optnone))
+#endif
+int reorder(int argc, char** argv) {
+ int i;
+ char** nargv = new char*[argc + 64];
Expand Down