summaryrefslogtreecommitdiff
path: root/src/vm/corhost.cpp
diff options
context:
space:
mode:
authorBrian Sullivan <briansul@microsoft.com>2019-04-26 14:08:01 -0700
committerBrian Sullivan <briansul@microsoft.com>2019-04-26 14:08:01 -0700
commit1a30173f2fb4e6cf427dfbd962ab4f80a36583a3 (patch)
tree2629b890c84ca9683dafa6f2192c5be01bd06b0c /src/vm/corhost.cpp
parent78bfc4fbd634f34870e4c11f280c36b7ed696c9f (diff)
downloadcoreclr-1a30173f2fb4e6cf427dfbd962ab4f80a36583a3.tar.gz
coreclr-1a30173f2fb4e6cf427dfbd962ab4f80a36583a3.tar.bz2
coreclr-1a30173f2fb4e6cf427dfbd962ab4f80a36583a3.zip
Revert "Fix for IBC profile data on Linux - Build the full command line for FEATURE_PAL"
This reverts commit 08422af33fa2026953c2e720cecf000ed4345a32.
Diffstat (limited to 'src/vm/corhost.cpp')
-rw-r--r--src/vm/corhost.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/vm/corhost.cpp b/src/vm/corhost.cpp
index 6487c52fca..b42fc28a85 100644
--- a/src/vm/corhost.cpp
+++ b/src/vm/corhost.cpp
@@ -39,6 +39,11 @@
#include "dwreport.h"
#endif // !FEATURE_PAL
+#include "stringarraylist.h"
+#ifdef FEATURE_PERFTRACING
+#include "eventpipe.h"
+#endif // FEATURE_PERFTRACING
+
#ifdef FEATURE_COMINTEROP
#include "winrttypenameconverter.h"
#endif
@@ -338,8 +343,10 @@ void SetCommandLineArgs(LPCWSTR pwzAssemblyPath, int argc, LPCWSTR* argv)
}
CONTRACTL_END;
- // Record the command line.
- SaveManagedCommandLine(pwzAssemblyPath, argc, argv);
+ // Send the command line to EventPipe.
+#ifdef FEATURE_PERFTRACING
+ EventPipe::SaveCommandLine(pwzAssemblyPath, argc, argv);
+#endif // FEATURE_PERFTRACING
// Send the command line to System.Environment.
struct _gc