aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorSami Tolvanen <samitolvanen@google.com>2022-08-24 19:26:05 +0000
committerSami Tolvanen <samitolvanen@google.com>2022-08-24 19:30:13 +0000
commita79060e275440ccd8d403d5af5fb5b9395ea3fac (patch)
tree7d29f75ff6c6a0cd2ceba3945e7d7cc0951c1d79 /llvm/lib/CodeGen/MachineFunction.cpp
parentdda38786534af733786c681e0c47b863e0626a0e (diff)
downloadllvm-a79060e275440ccd8d403d5af5fb5b9395ea3fac.zip
llvm-a79060e275440ccd8d403d5af5fb5b9395ea3fac.tar.gz
llvm-a79060e275440ccd8d403d5af5fb5b9395ea3fac.tar.bz2
Revert "KCFI sanitizer"
This reverts commit 67504c95494ff05be2a613129110c9bcf17f6c13 as using PointerEmbeddedInt to store 32 bits breaks 32-bit arm builds.
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineFunction.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp
index 299eadb..d2c22489 100644
--- a/llvm/lib/CodeGen/MachineFunction.cpp
+++ b/llvm/lib/CodeGen/MachineFunction.cpp
@@ -530,10 +530,9 @@ MachineFunction::getMachineMemOperand(const MachineMemOperand *MMO,
MachineInstr::ExtraInfo *MachineFunction::createMIExtraInfo(
ArrayRef<MachineMemOperand *> MMOs, MCSymbol *PreInstrSymbol,
- MCSymbol *PostInstrSymbol, MDNode *HeapAllocMarker, uint32_t CFIType) {
+ MCSymbol *PostInstrSymbol, MDNode *HeapAllocMarker) {
return MachineInstr::ExtraInfo::create(Allocator, MMOs, PreInstrSymbol,
- PostInstrSymbol, HeapAllocMarker,
- CFIType);
+ PostInstrSymbol, HeapAllocMarker);
}
const char *MachineFunction::createExternalSymbolName(StringRef Name) {