diff options
| author | Dan Gohman <sunfish@mozilla.com> | 2017-11-10 12:52:06 -0800 |
|---|---|---|
| committer | Dan Gohman <sunfish@mozilla.com> | 2017-11-10 12:52:06 -0800 |
| commit | 89652d66c9bd430e9c59bf5167f30c2016ae1e09 (patch) | |
| tree | f7648d70b2468baebbea2c1ff189dc162c7b7f6a /src/rustllvm/PassWrapper.cpp | |
| parent | d9f0e88f19b691cd3e69be997c4ec75ea14c1db3 (diff) | |
| download | rust-89652d66c9bd430e9c59bf5167f30c2016ae1e09.tar.gz rust-89652d66c9bd430e9c59bf5167f30c2016ae1e09.zip | |
Fix a spello.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
| -rw-r--r-- | src/rustllvm/PassWrapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rustllvm/PassWrapper.cpp b/src/rustllvm/PassWrapper.cpp index 1fc8c42f1dd..a04092cb5f9 100644 --- a/src/rustllvm/PassWrapper.cpp +++ b/src/rustllvm/PassWrapper.cpp @@ -401,7 +401,7 @@ extern "C" LLVMTargetMachineRef LLVMRustCreateTargetMachine( // Tell LLVM to translate `unreachable` into an explicit trap instruction. // This limits the extent of possible undefined behavior in some cases, as it // prevents control flow from "falling through" into whatever code happens to - // be layed out next in memory. + // be laid out next in memory. Options.TrapUnreachable = true; TargetMachine *TM = TheTarget->createTargetMachine( |
