Rename trans to codegen everywhere.
This commit is contained in:
parent
e3150564f8
commit
b63d7e2b1c
264 changed files with 1547 additions and 1548 deletions
|
@ -388,7 +388,7 @@ extern "C" LLVMTargetMachineRef LLVMRustCreateTargetMachine(
|
|||
Options.FunctionSections = FunctionSections;
|
||||
|
||||
if (TrapUnreachable) {
|
||||
// Tell LLVM to translate `unreachable` into an explicit trap instruction.
|
||||
// Tell LLVM to codegen `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 laid out next in memory.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue