[all-commits] [llvm/llvm-project] 1acf12: [Frontend] Delete a redundant check of -pg for set...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Sat Feb 1 00:31:11 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 1acf129bcf9a1b51e301a9fef151254ec4c7ec43
https://github.com/llvm/llvm-project/commit/1acf129bcf9a1b51e301a9fef151254ec4c7ec43
Author: Fangrui Song <maskray at google.com>
Date: 2020-02-01 (Sat, 01 Feb 2020)
Changed paths:
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/test/CodeGen/x86_64-profiling-keep-fp.c
Log Message:
-----------
[Frontend] Delete a redundant check of -pg for setFramePointer()
Driver errors if -fomit-frame-pointer is used together with -pg.
useFramePointerForTargetByDefault() returns true if -pg is specified.
=>
(!OmitFP && useFramePointerForTargetByDefault(Args, Triple)) is true
=>
We cannot get FramePointerKind::None
More information about the All-commits
mailing list