projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
AMDGPU/SI: Emit constant arrays in the .hsrodata_readonly_agent section
[oota-llvm.git]
/
lib
/
Target
/
AMDGPU
/
AMDGPUHSATargetObjectFile.h
diff --git
a/lib/Target/AMDGPU/AMDGPUHSATargetObjectFile.h
b/lib/Target/AMDGPU/AMDGPUHSATargetObjectFile.h
index 3697a96ffaf2dd84df3cde859a01ae07d8b54327..9ea51ec9b29ee0e386e0e41f1740b1c0793307e3 100644
(file)
--- a/
lib/Target/AMDGPU/AMDGPUHSATargetObjectFile.h
+++ b/
lib/Target/AMDGPU/AMDGPUHSATargetObjectFile.h
@@
-25,6
+25,7
@@
class AMDGPUHSATargetObjectFile final : public TargetLoweringObjectFileELF {
private:
MCSection *DataGlobalAgentSection;
MCSection *DataGlobalProgramSection;
+ MCSection *RodataReadonlyAgentSection;
bool isAgentAllocationSection(const char *SectionName) const;
bool isAgentAllocation(const GlobalValue *GV) const;