diff options
| author | Anton Korobeynikov <asl@math.spbu.ru> | 2008-07-09 13:23:08 +0000 |
|---|---|---|
| committer | Anton Korobeynikov <asl@math.spbu.ru> | 2008-07-09 13:23:08 +0000 |
| commit | 4260ad3e7dc0909190a14a2d2f0098cb8ade1462 (patch) | |
| tree | 30a9c0e36f93f992a3baefa34e079b3dc6f059b6 /lib/Target/TargetAsmInfo.cpp | |
| parent | 265c5259ab98b5a4f9f25fbe9f2e470d0933cb38 (diff) | |
Provide section selection for X86 ELF targets
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53305 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/TargetAsmInfo.cpp')
| -rw-r--r-- | lib/Target/TargetAsmInfo.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/TargetAsmInfo.cpp b/lib/Target/TargetAsmInfo.cpp index 0b810c77cf..6d2f6437bb 100644 --- a/lib/Target/TargetAsmInfo.cpp +++ b/lib/Target/TargetAsmInfo.cpp @@ -261,6 +261,9 @@ TargetAsmInfo::SectionForGlobal(const GlobalValue *GV) const { std::string Name; + // FIXME: Should we use some hashing based on section name and just check + // flags? + // Select section name if (GV->hasSection()) { // Honour section already set, if any |
