1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test
Jay Foad 12313627d3 [AMDGPU] Fix +DumpCode to print an entry label for the first function
Summary:
The +DumpCode attribute is a horrible hack in AMDGPU to embed the
disassembly of the generated code into the elf file. It is used by LLPC
to implement an extension that allows the application to read back the
disassembly of the code.

It tries to print an entry label at the start of every function, but
that didn't work for the first function in the module because
DumpCodeInstEmitter wasn't initialised until EmitFunctionBodyStart
which is too late.

Change-Id: I790d73ddf4f51fd02ab32529380c7cb7c607c4ee

Reviewers: arsenm, tpr, kzhuravl

Reviewed By: arsenm

Subscribers: arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D63712

llvm-svn: 364508
2019-06-27 08:19:28 +00:00
..
Analysis
Assembler
Bindings
Bitcode Fix Bitcode/invalid.test 2019-06-26 23:08:29 +00:00
BugPoint
CodeGen [AMDGPU] Fix +DumpCode to print an entry label for the first function 2019-06-27 08:19:28 +00:00
DebugInfo [WebAssembly] Implement tail calls and unify tablegen call classes 2019-06-26 16:17:15 +00:00
Demangle
Examples
ExecutionEngine
Feature
FileCheck
Instrumentation
Integer
JitListener
Linker
LTO [InlineCost] cleanup calculations of Cost and Threshold 2019-06-26 13:24:24 +00:00
MachineVerifier
MC [AMDGPU] Fix for branch offset hardware workaround 2019-06-26 17:34:57 +00:00
Object
ObjectYAML
Other Revert "r364412 [ExpandMemCmp][MergeICmps] Move passes out of CodeGen into opt pipeline." 2019-06-26 12:13:13 +00:00
SafepointIRVerifier
Support
SymbolRewriter
TableGen
ThinLTO/X86
tools BitStream reader: propagate errors 2019-06-26 19:50:12 +00:00
Transforms [InstCombine][NFCI] Fix test comments. 2019-06-27 05:46:06 +00:00
Unit
Verifier [IR] Add DISuprogram and DIE for a func decl 2019-06-27 06:07:41 +00:00
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg.py
lit.site.cfg.py.in
TestRunner.sh