summaryrefslogtreecommitdiff
path: root/src/vm/corhost.cpp
diff options
context:
space:
mode:
authorBrian Sullivan <briansul@microsoft.com>2019-04-23 14:52:04 -0700
committerBrian Sullivan <briansul@microsoft.com>2019-04-25 15:02:05 -0700
commit08422af33fa2026953c2e720cecf000ed4345a32 (patch)
tree177ea527a383f9d26fa6e0307e948d9bef88d08b /src/vm/corhost.cpp
parent58a26dfea967eee422cffe487ffff4c1a2546da6 (diff)
downloadcoreclr-08422af33fa2026953c2e720cecf000ed4345a32.tar.gz
coreclr-08422af33fa2026953c2e720cecf000ed4345a32.tar.bz2
coreclr-08422af33fa2026953c2e720cecf000ed4345a32.zip
Fix for IBC profile data on Linux - Build the full command line for FEATURE_PAL
Added public static function GetManagedCommandLine() andSaveManagedCommandLine() Add helper method Append_Next_Item Moved GetManagedCommandLine and SaveManagedCommandLine to ceeload to link crossgen Cleanup, codereview feedback
Diffstat (limited to 'src/vm/corhost.cpp')
-rw-r--r--src/vm/corhost.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/vm/corhost.cpp b/src/vm/corhost.cpp
index b42fc28a85..6487c52fca 100644
--- a/src/vm/corhost.cpp
+++ b/src/vm/corhost.cpp
@@ -39,11 +39,6 @@
#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
@@ -343,10 +338,8 @@ void SetCommandLineArgs(LPCWSTR pwzAssemblyPath, int argc, LPCWSTR* argv)
}
CONTRACTL_END;
- // Send the command line to EventPipe.
-#ifdef FEATURE_PERFTRACING
- EventPipe::SaveCommandLine(pwzAssemblyPath, argc, argv);
-#endif // FEATURE_PERFTRACING
+ // Record the command line.
+ SaveManagedCommandLine(pwzAssemblyPath, argc, argv);
// Send the command line to System.Environment.
struct _gc