Skip to content

Commit 6810ba5

Browse files
plotfiJDevlieghere
authored andcommitted
---
yaml --- r: 349426 b: refs/heads/master-next c: 333ffb3 h: refs/heads/master
1 parent 73f7b3a commit 6810ba5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: 3574c513bbc5578dd9346b4ea9ab5995c5927bb5
3-
refs/heads/master-next: 970eb2f43939b72c0371273e31f1c2ca7ccc435a
3+
refs/heads/master-next: 333ffb321ef83fb8e1157fbc6aeeb929bfaa2bb4
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea
66
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-b: 66d897bfcf64a82cb9a87f5e663d889189d06d07

branches/master-next/lib/IRGen/IRGenModule.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,9 @@ static clang::CodeGenerator *createClangCodeGenerator(ASTContext &Context,
9494

9595
auto &CGO = Importer->getClangCodeGenOpts();
9696
CGO.OptimizationLevel = Opts.shouldOptimize() ? 3 : 0;
97-
CGO.DisableFPElim = Opts.DisableFPElim;
97+
CGO.setFramePointer(Opts.DisableFPElim
98+
? clang::CodeGenOptions::FramePointerKind::All
99+
: clang::CodeGenOptions::FramePointerKind::None);
98100
CGO.DiscardValueNames = !Opts.shouldProvideValueNames();
99101
switch (Opts.DebugInfoLevel) {
100102
case IRGenDebugInfoLevel::None:

0 commit comments

Comments
 (0)