projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80ba698
)
Fix superpmi.py collect script (#62347)
author
Bruce Forstall
<brucefo@microsoft.com>
Fri, 3 Dec 2021 22:45:29 +0000
(14:45 -0800)
committer
GitHub
<noreply@github.com>
Fri, 3 Dec 2021 22:45:29 +0000
(14:45 -0800)
Collect also does a replay, so needs all the replay arguments set to something.
Fixes this error: `'CoreclrArguments' object has no attribute 'compile'`
src/coreclr/scripts/superpmi.py
patch
|
blob
|
history
diff --git
a/src/coreclr/scripts/superpmi.py
b/src/coreclr/scripts/superpmi.py
index
8858cee
..
8433294
100755
(executable)
--- a/
src/coreclr/scripts/superpmi.py
+++ b/
src/coreclr/scripts/superpmi.py
@@
-3013,6
+3013,11
@@
def setup_args(args):
"Unable to set jitoption")
coreclr_args.verify(args,
+ "compile", # The replay code checks this, so make sure it's set
+ lambda unused: True,
+ "Method context not valid")
+
+ coreclr_args.verify(args,
"collection_command",
lambda unused: True,
"Unable to set collection_command.")