mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-02 14:25:41 +08:00
profile atomic
This commit is contained in:
@@ -104,9 +104,11 @@ class PgoManager
|
||||
return;
|
||||
}
|
||||
$flags = match ($this->mode) {
|
||||
self::MODE_INSTRUMENT => '-fprofile-generate=' . $this->rawDir($sapi),
|
||||
self::MODE_INSTRUMENT => '-fprofile-generate=' . $this->rawDir($sapi)
|
||||
. ' -fprofile-update=atomic',
|
||||
self::MODE_CS_INSTRUMENT => '-fprofile-use=' . $this->profDataFile($sapi)
|
||||
. ' -fcs-profile-generate=' . $this->csRawDir($sapi)
|
||||
. ' -fprofile-update=atomic'
|
||||
. ' -Wno-error=profile-instr-unprofiled'
|
||||
. ' -Wno-error=profile-instr-out-of-date'
|
||||
. ' -Wno-backend-plugin',
|
||||
|
||||
Reference in New Issue
Block a user