search for: cgopts

Displaying 5 results from an estimated 5 matches for "cgopts".

2017 Oct 03
2
New Pass Manager with flto[=thin] not enabled (??)
...cl::desc("Run LTO passes using the new pass manager"), cl::init(false), cl::Hidden); ... Conf.UseNewPM = UseNewPM; ... projects/clang/lib/CodeGen/BackendUtil.cpp ... void clang::EmitBackendOutput( (...) { ... runThinLTOBackend(CombinedIndex.get(), M, HeaderOpts, CGOpts, TOpts, LOpts, std::move(OS), CGOpts.SampleProfileFile, Action); return; ... } static void runThinLTOBackend (...) { ... Conf.UseNewPM = CGOpts.ExperimentalNewPassManager; ... } My team and I were wondering if this is: intentional, if so, why do we not...
2017 Aug 21
2
Emitting output file information in Debug Info Metadata
Hi all, In an effort to improve compatibility on the CodeView debug info side, we need to output a few new record types on the backend that don't seem to have the necessary info tracked by the debug info metadata. Specifically: 1) For each compile unit, we need to emit a record containing the output file name (e.g. foo.obj) 2) For each compile unit, we need to emit a record containing the
2016 Aug 04
4
help please: how to sort the contents of a "SymbolTableListTraits<GlobalVariable>"?
...tAssemblyHelper::EmitAssembly (this=0x7fffffffb7a8, Action=clang::Backend_EmitObj, OS=...) at /work/Abe/non-backup-worthy/build_dirs/Clang/pre-3.9/2016-07-17-22-54-42-1cb1a4c-master/llvm/tools/cfe/lib/CodeGen/BackendUtil.cpp:734 #14 0x0000000002adeda6 in clang::EmitBackendOutput (Diags=..., CGOpts=..., TOpts=..., LOpts=..., TDesc=..., M=0x82b1f90, Action=clang::Backend_EmitObj, OS=...) at /work/Abe/non-backup-worthy/build_dirs/Clang/pre-3.9/2016-07-17-22-54-42-1cb1a4c-master/llvm/tools/cfe/lib/CodeGen/BackendUtil.cpp:751 #15 0x00000000035d622f in clang::BackendConsumer::HandleT...
2012 Feb 10
1
[LLVMdev] Question about /llvm/trunk/lib/CodeGen/MachineScheduler.cpp
...OS=0x3d13660) >>>>> at >>>>> /local/mnt/workspace/slarin/tools/llvm-mainline- >>>> merged/tools/clang/lib/CodeG >>>>> en/BackendUtil.cpp:497 >>>>> #11 0x0000000000c94968 in clang::EmitBackendOutput (Diags=..., >>>> CGOpts=..., >>>>> TOpts=..., LOpts=..., M=0x3d1a3c0, >>>> Action=clang::Backend_EmitAssembly, >>>>> OS=0x3d13660) >>>>> at >>>>> /local/mnt/workspace/slarin/tools/llvm-mainline- >>>> merged/tools/clang/lib/CodeG >>&...
2016 Jul 27
2
help please: how to sort the contents of a "SymbolTableListTraits<GlobalVariable>"?
Dear all, In the process of trying to add optimization for better layout of global variables, I have run up against a roadblock: I don`t seem to be able to sort the contents of a "SymbolTableListTraits<GlobalVariable>" -- or even swap two elements in that list -- without causing LLVM to crash. I have tried writing a comparator class and then using "llvm::iplist<