diff options
| author | Stephen Peckham <speckham@us.ibm.com> | 2023-07-13 17:15:48 -0400 |
|---|---|---|
| committer | Hubert Tong <hubert.reinterpretcast@gmail.com> | 2023-07-15 16:13:48 -0400 |
| commit | ac5d5351d42ab74cfc47964aa0ca94655cf7e7c7 (patch) | |
| tree | 1be94fe6466c3ba76ba8328907db4ccaebb8b4f0 /llvm/lib/Target/AMDGPU/AMDGPUMachineFunction.cpp | |
| parent | bb6ab91b1dcd2fadfddffcd020439978af184862 (diff) | |
Use empty symbol name for XCOFF text csect
When generating XCOFF, the compiler generates a csect with an internal
name. Each function results in a label within the csect. This patch
replaces the internal name ".text" with an empty string "". This avoids
adding special code to handle a function text() in the source file, and
works better with some XCOFF tools that are confused when the csect and
the first function have the same address.
Reviewed By: hubert.reinterpretcast
Differential Revision: https://reviews.llvm.org/D154854
Diffstat (limited to 'llvm/lib/Target/AMDGPU/AMDGPUMachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions
