aboutsummaryrefslogtreecommitdiff
path: root/bolt/lib/Core/BinaryEmitter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bolt/lib/Core/BinaryEmitter.cpp')
-rw-r--r--bolt/lib/Core/BinaryEmitter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/bolt/lib/Core/BinaryEmitter.cpp b/bolt/lib/Core/BinaryEmitter.cpp
index 5793963..c231fff 100644
--- a/bolt/lib/Core/BinaryEmitter.cpp
+++ b/bolt/lib/Core/BinaryEmitter.cpp
@@ -487,6 +487,7 @@ void BinaryEmitter::emitFunctionBody(BinaryFunction &BF, FunctionFragment &FF,
// This assumes the second instruction in the macro-op pair will get
// assigned to its own MCRelaxableFragment. Since all JCC instructions
// are relaxable, we should be safe.
+ Streamer.emitNeverAlignCodeAtEnd(/*Alignment to avoid=*/64, *BC.STI);
}
if (!EmitCodeOnly) {