[all-commits] [llvm/llvm-project] 20d0ac: [clang][Driver] Add -fintegrate-as to debug-pass-s...
jsji via All-commits
all-commits at lists.llvm.org
Wed May 5 09:11:25 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 20d0aca43073f18f70b1c5a665631dee1be1598d
https://github.com/llvm/llvm-project/commit/20d0aca43073f18f70b1c5a665631dee1be1598d
Author: Jinsong Ji <jji at us.ibm.com>
Date: 2021-05-05 (Wed, 05 May 2021)
Changed paths:
M clang/test/Driver/debug-pass-structure.c
Log Message:
-----------
[clang][Driver] Add -fintegrate-as to debug-pass-structure test
CGProfilePass is not always on, it will be disabled when using
non-intergrated assemblers.
// Only enable CGProfilePass when using integrated assembler, since
// non-integrated assemblers don't recognize .cgprofile section.
PMBuilder.CallGraphProfile = !CodeGenOpts.DisableIntegratedAS;
Add -fintegrate-as to make sure the output don't rely on the platform default.
Reviewed By: evgeny777
Differential Revision: https://reviews.llvm.org/D101918
More information about the All-commits
mailing list