diff options
author | Hans Wennborg <hans@hanshq.net> | 2018-08-10 09:48:53 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2018-08-10 09:48:53 +0000 |
commit | d4090be340fbbc3e490f339cded51954716f53f5 (patch) | |
tree | 8aec1c51bb0465c7778883060476c83405506fdd /llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | |
parent | 4e9def57c735e0e8d8a7491ae9cf1edb0b912a96 (diff) | |
download | bcm5719-llvm-d4090be340fbbc3e490f339cded51954716f53f5.tar.gz bcm5719-llvm-d4090be340fbbc3e490f339cded51954716f53f5.zip |
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
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index 9bbc77b3056..0271e21e59c 100644 --- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp @@ -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)); |