-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Support names field in source maps #25870
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
aheejin
wants to merge
13
commits into
emscripten-core:main
Choose a base branch
from
aheejin:sourcemap_names_dwarf2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+292
−34
Open
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
34cf4d1
Support names field in source maps
aheejin 84f14d3
ruff fix
aheejin 1e78e2d
ruff fix 2
aheejin 161757a
ruff fix 3
aheejin 131827c
ruff fix 4 (I should install it probably)
aheejin d36dad5
Remove fallbacks in case -t doesn't exist
aheejin 2d26aaf
Merge branch 'main' into sourcemap_names_dwarf2
aheejin b8cbf2a
Merge branch 'main' into sourcemap_names_dwarf2
aheejin 3bae429
Use shared.check_call for llvm-cxxfilt
aheejin c844256
Remove try/except
aheejin d9c0232
ruff fix
aheejin 007396b
Update ChangeLog
aheejin ecf5118
Edit ChangeLog
aheejin 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| #include <emscripten.h> | ||
|
|
||
| EM_JS(int, out_to_js, (int x), {}) | ||
|
|
||
| class MyClass { | ||
| public: | ||
| void foo(); | ||
| void bar(); | ||
| }; | ||
|
|
||
| void __attribute__((noinline)) MyClass::foo() { | ||
| out_to_js(0); // line 12 | ||
| out_to_js(1); | ||
| out_to_js(2); | ||
| } | ||
|
|
||
| void __attribute__((always_inline)) MyClass::bar() { | ||
| out_to_js(3); | ||
| __builtin_trap(); // line 19 | ||
| } | ||
|
|
||
| int main() { | ||
| MyClass mc; | ||
| mc.foo(); | ||
| mc.bar(); | ||
| } |
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
Oops, something went wrong.
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.
Should this be
>= 5like above on line 173?Uh oh!
There was an error while loading. Please reload this page.
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.
It can be 5 at maximum: https://tc39.es/ecma426/#sec-mappings