[PATCH] D75937: Add Support to X86 for Load Hardening to Mitigate Load Value Injection (LVI) [5/6]
Matthew Riley via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 3 17:21:42 PDT 2020
mattdr added inline comments.
================
Comment at: llvm/lib/Target/X86/X86LoadValueInjectionLoadHardening.cpp:626-629
+ auto *Nodes = new unsigned int[G.nodes_size() + 1 /* terminator node */];
+ auto *Edges = new unsigned int[G.edges_size()];
+ auto *EdgeCuts = new int[G.edges_size()];
+ auto *EdgeValues = new int[G.edges_size()];
----------------
Why aren't these `vector`s?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75937/new/
https://reviews.llvm.org/D75937
More information about the llvm-commits
mailing list