llvm.org GIT mirror llvm / 6b181a9
[AArch64] [Windows] Address post-commit review comment on r346358. In this context, usesWindowsCFI() is basically the same thing as isOSWindows(), but it makes the relevant property of the target more explicit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@346366 91177308-0d34-0410-b5e6-96231b3b80d8 Eli Friedman 10 months ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
2929 #include "llvm/CodeGen/TargetPassConfig.h"
3030 #include "llvm/IR/Attributes.h"
3131 #include "llvm/IR/Function.h"
32 #include "llvm/MC/MCAsmInfo.h"
3233 #include "llvm/MC/MCTargetOptions.h"
3334 #include "llvm/Pass.h"
3435 #include "llvm/Support/CodeGen.h"
262263 this->Options.NoTrapAfterNoreturn = true;
263264 }
264265
265 if (TT.isOSWindows()) {
266 if (getMCAsmInfo()->usesWindowsCFI()) {
266267 // Unwinding can get confused if the last instruction in an
267268 // exception-handling region (function, funclet, try block, etc.)
268269 // is a call.