1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/include/llvm/Passes
zhizhouy da8241e253 [NFC] Do not run CGProfilePass when not using integrated assembler
Summary:
CGProfilePass is run by default in certain new pass manager optimization pipeline. Assemblers other than llvm as (such as gnu as) cannot recognize the .cgprofile entries generated and emitted from this pass, causing build time error.

This patch adds new options in clang CodeGenOpts and PassBuilder options so that we can turn cgprofile off when not using integrated assembler.

Reviewers: Bigcheese, xur, george.burgess.iv, chandlerc, manojgupta

Reviewed By: manojgupta

Subscribers: manojgupta, void, hiraditya, dexonsmith, llvm-commits, tcwang, llozano

Tags: #llvm, #clang

Differential Revision: https://reviews.llvm.org/D62627
2020-03-31 10:31:31 -07:00
..
PassBuilder.h [NFC] Do not run CGProfilePass when not using integrated assembler 2020-03-31 10:31:31 -07:00
PassPlugin.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
StandardInstrumentations.h [TimePasses] allow -time-passes reporting into a custom stream 2019-03-15 22:15:23 +00:00