Revert "[X86] Support -mstack-protector-guard-symbol"

This reverts commit efbaad1c4a.
due to miss adding review info.
This commit is contained in:
Xiang1 Zhang
2022-07-12 10:14:32 +08:00
parent efbaad1c4a
commit 643786213b
12 changed files with 2 additions and 111 deletions

View File

@@ -900,9 +900,6 @@ void CodeGenModule::Release() {
if (!getCodeGenOpts().StackProtectorGuardReg.empty())
getModule().setStackProtectorGuardReg(
getCodeGenOpts().StackProtectorGuardReg);
if (!getCodeGenOpts().StackProtectorGuardSymbol.empty())
getModule().setStackProtectorGuardSymbol(
getCodeGenOpts().StackProtectorGuardSymbol);
if (getCodeGenOpts().StackProtectorGuardOffset != INT_MAX)
getModule().setStackProtectorGuardOffset(
getCodeGenOpts().StackProtectorGuardOffset);