This repository was archived by the owner on Feb 25, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6k
Reland Clang 11, roll buildroot to 1bc40a5f916adb93d87e2a2230a0ec43db876c1c, take 3 #17467
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -110,8 +110,93 @@ int _checkAndroid(String outPath, String nmPath, Iterable<String> builds) { | |
| 'JNI_OnLoad': 'T', | ||
| '_binary_icudtl_dat_size': 'A', | ||
| '_binary_icudtl_dat_start': 'D', | ||
| // TODO(fxb/47943): Remove these once Clang lld does not expose them. | ||
| // arm | ||
| '__adddf3': 'T', | ||
| '__addsf3': 'T', | ||
| '__aeabi_cdcmpeq': 'T', | ||
| '__aeabi_cdcmple': 'T', | ||
| '__aeabi_cdrcmple': 'T', | ||
| '__aeabi_d2lz': 'T', | ||
| '__aeabi_d2uiz': 'T', | ||
| '__aeabi_d2ulz': 'T', | ||
| '__aeabi_dadd': 'T', | ||
| '__aeabi_dcmpeq': 'T', | ||
| '__aeabi_dcmpge': 'T', | ||
| '__aeabi_dcmpgt': 'T', | ||
| '__aeabi_dcmple': 'T', | ||
| '__aeabi_dcmplt': 'T', | ||
| '__aeabi_ddiv': 'T', | ||
| '__aeabi_dmul': 'T', | ||
| '__aeabi_drsub': 'T', | ||
| '__aeabi_dsub': 'T', | ||
| '__aeabi_f2d': 'T', | ||
| '__aeabi_fadd': 'T', | ||
| '__aeabi_frsub': 'T', | ||
| '__aeabi_fsub': 'T', | ||
| '__aeabi_i2d': 'T', | ||
| '__aeabi_i2f': 'T', | ||
| '__aeabi_l2d': 'T', | ||
| '__aeabi_l2f': 'T', | ||
| '__aeabi_lasr': 'T', | ||
| '__aeabi_ldivmod': 'T', | ||
| '__aeabi_llsl': 'T', | ||
| '__aeabi_llsr': 'T', | ||
| '__aeabi_ui2d': 'T', | ||
| '__aeabi_ui2f': 'T', | ||
| '__aeabi_uidiv': 'T', | ||
| '__aeabi_uidivmod': 'T', | ||
| '__aeabi_ul2d': 'T', | ||
| '__aeabi_ul2f': 'T', | ||
| '__aeabi_uldivmod': 'T', | ||
| '__ashldi3': 'T', | ||
| '__ashrdi3': 'T', | ||
| '__cmpdf2': 'T', | ||
| '__divdf3': 'T', | ||
| '__divdi3': 'T', | ||
| '__eqdf2': 'T', | ||
| '__extendsfdf2': 'T', | ||
| '__fixdfdi': 'T', | ||
| '__fixunsdfdi': 'T', | ||
| '__fixunsdfsi': 'T', | ||
| '__floatdidf': 'T', | ||
| '__floatdisf': 'T', | ||
| '__floatsidf': 'T', | ||
| '__floatsisf': 'T', | ||
| '__floatundidf': 'T', | ||
| '__floatundisf': 'T', | ||
| '__floatunsidf': 'T', | ||
| '__floatunsisf': 'T', | ||
| '__gedf2': 'T', | ||
| '__gnu_ldivmod_helper': 'T', | ||
| '__gnu_uldivmod_helper': 'T', | ||
| '__gtdf2': 'T', | ||
| '__ledf2': 'T', | ||
| '__lshrdi3': 'T', | ||
| '__ltdf2': 'T', | ||
| '__muldf3': 'T', | ||
| '__nedf2': 'T', | ||
| '__subdf3': 'T', | ||
| '__subsf3': 'T', | ||
| '__udivdi3': 'T', | ||
| '__udivsi3': 'T', | ||
| // arm64 | ||
| '__clz_tab': 'R', | ||
| '__udivti3': 'T', | ||
| // arm64 && x64 | ||
| '__emutls_get_address': 'T', | ||
| '__emutls_register_common': 'T', | ||
| // jit x86 | ||
| '__moddi3': 'T', | ||
| '__umoddi3': 'T', | ||
|
Comment on lines
+189
to
+191
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The new symbols to whitelist. I manually checked x64, that's fine with the current list.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This issues has been addressed in upstream by https://reviews.llvm.org/D77280 |
||
| }; | ||
| if (!const MapEquality<String, String>().equals(entryMap, expectedSymbols)) { | ||
| final Map<String, String> badSymbols = <String, String>{}; | ||
| for (final String key in entryMap.keys) { | ||
| if (entryMap[key] != expectedSymbols[key]) { | ||
| badSymbols[key] = entryMap[key]; | ||
| } | ||
| } | ||
| if (badSymbols.isNotEmpty) { | ||
| print('ERROR: $libFlutter exports the wrong symbols'); | ||
| print(' Expected $expectedSymbols'); | ||
| print(' Library has $entryMap.'); | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the change to the prints?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move them to python3 friendly syntax. I'm assuming at some point the bots will be on python3