-
-
Notifications
You must be signed in to change notification settings - Fork 68
fix(proguard): Accept mapping files without line number ranges #1898
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
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
6122e6a
fix(proguard): Accept mapping files without line number ranges
romtsn 28aecb5
fix: Remove trailing blank line to fix fmt lint
romtsn 5dbdeeb
fix: Map all Malformed cache errors to Invalid instead of using unrea…
romtsn 94e6cd9
Revert "fix: Map all Malformed cache errors to Invalid instead of usi…
romtsn 8841d2b
fix: Bump proguard cache version to invalidate stale no-line-info errors
romtsn 791efe6
Revert "fix: Bump proguard cache version to invalidate stale no-line-…
romtsn a5bdb02
fix: Map all Malformed cache errors to Invalid instead of using unrea…
romtsn 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
32 changes: 32 additions & 0 deletions
32
...tor-proguard/tests/integration/snapshots/integration__proguard__no_line_info_mapping.snap
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,32 @@ | ||
| --- | ||
| source: crates/symbolicator-proguard/tests/integration/proguard.rs | ||
| expression: response | ||
| --- | ||
| exceptions: | ||
| - type: RuntimeException | ||
| module: java.lang | ||
| stacktraces: | ||
| - exception: | ||
| type: RuntimeException | ||
| module: java.lang | ||
| frames: | ||
| - function: checkMessageInitialized | ||
| filename: AbstractParser.java | ||
| module: com.google.protobuf.AbstractParser | ||
| abs_path: AbstractParser.java | ||
| lineno: 42 | ||
| index: 0 | ||
| - function: ensureIsMutable | ||
| filename: AbstractProtobufList.java | ||
| module: com.google.protobuf.AbstractProtobufList | ||
| abs_path: AbstractProtobufList.java | ||
| lineno: 123 | ||
| index: 1 | ||
| - function: coroutineBoundary | ||
| filename: ArtificialStackFrames.java | ||
| module: _COROUTINE.ArtificialStackFrames | ||
| abs_path: ArtificialStackFrames.java | ||
| lineno: 0 | ||
| index: 2 | ||
| classes: {} | ||
| errors: [] |
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,81 @@ | ||
| # {'id':'com.android.tools.r8.mapping','version':'1.0'} | ||
| _COROUTINE.ArtificialStackFrames -> yy.zX: | ||
| android.content.Context appContext -> Xc | ||
| java.lang.Object contentProviderStarted -> kc | ||
| java.lang.String guardsInvoked -> zc | ||
| boolean _COROUTINE.ArtificialStackFrames.isSupported() -> GV | ||
| java.lang.StackTraceElement _COROUTINE.ArtificialStackFrames.coroutineBoundary() -> VF | ||
| java.lang.StackTraceElement _COROUTINE.ArtificialStackFrames.coroutineCreation() -> XF | ||
| _COROUTINE.CoroutineDebuggingKt -> yy.Lr: | ||
| java.lang.StackTraceElement _COROUTINE.CoroutineDebuggingKt.access$artificialFrame(java.lang.Throwable,java.lang.String) -> kc | ||
| _COROUTINE._BOUNDARY -> yy.lX: | ||
| int _COROUTINE._BOUNDARY.decodeVarint64(long,byte[],int,com.google.protobuf.ArrayDecoders$Registers) -> uG | ||
| _COROUTINE._CREATION -> yy.QG: | ||
| com.google.common.util.concurrent.ListenableFuture -> yy.Pv: | ||
| com.google.protobuf.AbstractMessageLite -> yy.Hv: | ||
| com.google.protobuf.AbstractMessageLite$Builder -> yy.Ov: | ||
| com.google.protobuf.AbstractMessageLite$Builder$LimitedInputStream -> yy.pv: | ||
| int limit -> Xc | ||
| int $stable -> kc | ||
| com.google.protobuf.InvalidProtocolBufferException com.google.protobuf.AbstractMessageLite$Builder$LimitedInputStream.parseFailure() -> xc | ||
| com.google.protobuf.AbstractMessageLite$InternalOneOfEnum -> yy.ov: | ||
| com.google.protobuf.AbstractParser -> yy.xv: | ||
| com.google.protobuf.ExtensionRegistryLite EMPTY_REGISTRY -> Xc | ||
| java.lang.Object com.google.protobuf.AbstractParser.parseFrom(byte[],com.google.protobuf.ExtensionRegistryLite) -> BAc | ||
| java.lang.Object com.google.protobuf.AbstractParser.parseFrom(com.google.protobuf.CodedInputStream) -> DAc | ||
| com.google.protobuf.MessageLite com.google.protobuf.AbstractParser.parseFrom(java.io.InputStream,com.google.protobuf.ExtensionRegistryLite) -> DW | ||
| java.lang.Object com.google.protobuf.AbstractParser.parseDelimitedFrom(java.io.InputStream) -> GAc | ||
| com.google.protobuf.MessageLite com.google.protobuf.AbstractParser.parseFrom(java.io.InputStream) -> GW | ||
| com.google.protobuf.MessageLite com.google.protobuf.AbstractParser.parsePartialFrom(byte[]) -> HW | ||
| com.google.protobuf.MessageLite com.google.protobuf.AbstractParser.parsePartialFrom(byte[],int,int) -> IW | ||
| java.lang.Object com.google.protobuf.AbstractParser.parsePartialFrom(byte[],com.google.protobuf.ExtensionRegistryLite) -> JAc | ||
| com.google.protobuf.MessageLite com.google.protobuf.AbstractParser.parseFrom(byte[]) -> JW | ||
| java.lang.Object com.google.protobuf.AbstractParser.parseFrom(byte[],int,int) -> KAc | ||
| java.lang.Object com.google.protobuf.AbstractParser.parsePartialFrom(byte[]) -> OAc | ||
| com.google.protobuf.MessageLite com.google.protobuf.AbstractParser.parseFrom(com.google.protobuf.ByteString,com.google.protobuf.ExtensionRegistryLite) -> OW | ||
| com.google.protobuf.MessageLite com.google.protobuf.AbstractParser.parseFrom(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite) -> PW | ||
| java.lang.Object com.google.protobuf.AbstractParser.parseFrom(java.io.InputStream,com.google.protobuf.ExtensionRegistryLite) -> RAc | ||
| java.lang.Object com.google.protobuf.AbstractParser.parsePartialFrom(java.io.InputStream) -> SAc | ||
| com.google.protobuf.MessageLite com.google.protobuf.AbstractParser.parsePartialFrom(byte[],int,int,com.google.protobuf.ExtensionRegistryLite) -> TW | ||
| java.lang.Object com.google.protobuf.AbstractParser.parsePartialFrom(java.io.InputStream,com.google.protobuf.ExtensionRegistryLite) -> UAc | ||
| java.lang.Object com.google.protobuf.AbstractParser.parseDelimitedFrom(java.io.InputStream,com.google.protobuf.ExtensionRegistryLite) -> VAc | ||
| com.google.protobuf.MessageLite com.google.protobuf.AbstractParser.parsePartialDelimitedFrom(java.io.InputStream) -> VW | ||
| java.lang.Object com.google.protobuf.AbstractParser.parseFrom(java.nio.ByteBuffer) -> XAc | ||
| com.google.protobuf.MessageLite com.google.protobuf.AbstractParser.parsePartialFrom(java.io.InputStream) -> XW | ||
| com.google.protobuf.UninitializedMessageException com.google.protobuf.AbstractParser.newUninitializedMessageException(com.google.protobuf.MessageLite) -> Xc | ||
| java.lang.Object com.google.protobuf.AbstractParser.parseFrom(byte[],int,int,com.google.protobuf.ExtensionRegistryLite) -> YAc | ||
| com.google.protobuf.MessageLite com.google.protobuf.AbstractParser.parseFrom(java.nio.ByteBuffer) -> YW | ||
| java.lang.Object com.google.protobuf.AbstractParser.parsePartialDelimitedFrom(java.io.InputStream) -> ZAc | ||
| com.google.protobuf.MessageLite com.google.protobuf.AbstractParser.parseFrom(java.nio.ByteBuffer,com.google.protobuf.ExtensionRegistryLite) -> ZW | ||
| com.google.protobuf.MessageLite com.google.protobuf.AbstractParser.parseDelimitedFrom(java.io.InputStream) -> aq | ||
| java.lang.Object com.google.protobuf.AbstractParser.parsePartialFrom(com.google.protobuf.ByteString) -> bAc | ||
| com.google.protobuf.MessageLite com.google.protobuf.AbstractParser.parseFrom(byte[],com.google.protobuf.ExtensionRegistryLite) -> dW | ||
| java.lang.Object com.google.protobuf.AbstractParser.parsePartialFrom(com.google.protobuf.CodedInputStream) -> eAc | ||
| com.google.protobuf.MessageLite com.google.protobuf.AbstractParser.parsePartialFrom(com.google.protobuf.CodedInputStream) -> eW | ||
| java.lang.Object com.google.protobuf.AbstractParser.parsePartialFrom(com.google.protobuf.ByteString,com.google.protobuf.ExtensionRegistryLite) -> gAc | ||
| com.google.protobuf.MessageLite com.google.protobuf.AbstractParser.parsePartialFrom(com.google.protobuf.ByteString) -> gW | ||
| java.lang.Object com.google.protobuf.AbstractParser.parsePartialDelimitedFrom(java.io.InputStream,com.google.protobuf.ExtensionRegistryLite) -> hAc | ||
| com.google.protobuf.MessageLite com.google.protobuf.AbstractParser.parseFrom(com.google.protobuf.CodedInputStream) -> hW | ||
| com.google.protobuf.MessageLite com.google.protobuf.AbstractParser.parsePartialFrom(byte[],com.google.protobuf.ExtensionRegistryLite) -> iW | ||
| com.google.protobuf.MessageLite com.google.protobuf.AbstractParser.parseFrom(byte[],int,int,com.google.protobuf.ExtensionRegistryLite) -> jW | ||
| java.lang.Object com.google.protobuf.AbstractParser.parseFrom(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite) -> kAc | ||
| com.google.protobuf.MessageLite com.google.protobuf.AbstractParser.checkMessageInitialized(com.google.protobuf.MessageLite) -> kc | ||
| java.lang.Object com.google.protobuf.AbstractParser.parseFrom(com.google.protobuf.ByteString,com.google.protobuf.ExtensionRegistryLite) -> lAc | ||
| com.google.protobuf.MessageLite com.google.protobuf.AbstractParser.parsePartialFrom(java.io.InputStream,com.google.protobuf.ExtensionRegistryLite) -> lW | ||
| java.lang.Object com.google.protobuf.AbstractParser.parsePartialFrom(byte[],int,int) -> oAc | ||
| com.google.protobuf.MessageLite com.google.protobuf.AbstractParser.parsePartialFrom(com.google.protobuf.ByteString,com.google.protobuf.ExtensionRegistryLite) -> oW | ||
| com.google.protobuf.MessageLite com.google.protobuf.AbstractParser.parseFrom(com.google.protobuf.ByteString) -> pW | ||
| java.lang.Object com.google.protobuf.AbstractParser.parseFrom(java.io.InputStream) -> rAc | ||
| java.lang.Object com.google.protobuf.AbstractParser.parseFrom(byte[]) -> sAc | ||
| com.google.protobuf.MessageLite com.google.protobuf.AbstractParser.parseFrom(byte[],int,int) -> tW | ||
| java.lang.Object com.google.protobuf.AbstractParser.parseFrom(java.nio.ByteBuffer,com.google.protobuf.ExtensionRegistryLite) -> vAc | ||
| com.google.protobuf.MessageLite com.google.protobuf.AbstractParser.parseDelimitedFrom(java.io.InputStream,com.google.protobuf.ExtensionRegistryLite) -> vW | ||
| java.lang.Object com.google.protobuf.AbstractParser.parsePartialFrom(byte[],int,int,com.google.protobuf.ExtensionRegistryLite) -> wAc | ||
| java.lang.Object com.google.protobuf.AbstractParser.parseFrom(com.google.protobuf.ByteString) -> zAc | ||
| com.google.protobuf.MessageLite com.google.protobuf.AbstractParser.parsePartialDelimitedFrom(java.io.InputStream,com.google.protobuf.ExtensionRegistryLite) -> zW | ||
| com.google.protobuf.AbstractProtobufList -> yy.Fv: | ||
| boolean isMutable -> Xc | ||
| int DEFAULT_CAPACITY -> kc | ||
| boolean com.google.protobuf.AbstractProtobufList.isModifiable() -> Zf | ||
| void com.google.protobuf.AbstractProtobufList.makeImmutable() -> bf | ||
| void com.google.protobuf.AbstractProtobufList.ensureIsMutable() -> kV |
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.
Uh oh!
There was an error while loading. Please reload this page.