1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/lib/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
..
CMakeLists.txt
LLVMBuild.txt [Coroutines][1/6] New pass manager: coro-early 2020-02-17 13:27:48 -05:00
PassBuilder.cpp [NFC] Do not run CGProfilePass when not using integrated assembler 2020-03-31 10:31:31 -07:00
PassPlugin.cpp
PassRegistry.def [memtag] Plug in stack safety analysis. 2020-03-16 16:35:25 -07:00
StandardInstrumentations.cpp IR printing for single function with the new pass manager. 2020-02-23 15:28:57 -08:00