mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Rename the cfguard module flag to cfguardtable
The previous name sounds like it inserts cfguard implementation, but it really just emits the table of address-taken functions. Change the name to better reflect that. Clang will be updated in the next commit. llvm-svn: 339419
This commit is contained in:
parent
194dc99083
commit
2e70af82aa
@ -363,7 +363,7 @@ bool AsmPrinter::doInitialization(Module &M) {
|
||||
DWARFGroupName, DWARFGroupDescription));
|
||||
|
||||
if (mdconst::extract_or_null<ConstantInt>(
|
||||
MMI->getModule()->getModuleFlag("cfguard")))
|
||||
MMI->getModule()->getModuleFlag("cfguardtable")))
|
||||
Handlers.push_back(HandlerInfo(new WinCFGuard(this), CFGuardName,
|
||||
CFGuardDescription, DWARFGroupName,
|
||||
DWARFGroupDescription));
|
||||
|
@ -157,6 +157,6 @@ attributes #2 = { nounwind }
|
||||
!llvm.module.flags = !{!0, !1}
|
||||
!llvm.ident = !{!2}
|
||||
|
||||
!0 = !{i32 2, !"cfguard", i32 1}
|
||||
!0 = !{i32 2, !"cfguardtable", i32 1}
|
||||
!1 = !{i32 1, !"wchar_size", i32 2}
|
||||
!2 = !{!"clang version 6.0.0 "}
|
||||
|
Loading…
x
Reference in New Issue
Block a user