Displaying 6 results from an estimated 6 matches similar to: "[LLVMdev] How to set constant pool section?"
2012 Mar 14
0
[LLVMdev] How to set constant pool section?
Hello
> I really need in my backend value for this section, distinct from
> default. Where can I set it?
It was renamed to ReadOnlySection. You might want to check the logic
inside CodeGen/TargetLoweringObjectFileImp.cpp (in particular -
TargetLoweringObjectFile::SelectionSectionForGlobal) to see how it's
used.
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and
2012 Mar 15
3
[LLVMdev] How to set constant pool section?
Hi,
Thanks for pointing direction. As far, as I understand by reversing,
logic, that I want to overwrite is digged into:
lib/MC/MCSectionELF.cpp
MCSectionELF::PrintSwitchToSection
if (ShouldOmitSectionDirective(SectionName, MAI)) {
OS << '\t' << getSectionName() << '\n';
return;
}
// otherwise print ".section" directive and then section
2012 Mar 15
0
[LLVMdev] How to set constant pool section?
On Thu, Mar 15, 2012 at 11:00:54AM +0400, Konstantin Vladimirov wrote:
> Hi,
>
> Thanks for pointing direction. As far, as I understand by reversing,
> logic, that I want to overwrite is digged into:
>
> lib/MC/MCSectionELF.cpp
>
> MCSectionELF::PrintSwitchToSection
>
> if (ShouldOmitSectionDirective(SectionName, MAI)) {
> OS << '\t'
2013 Sep 25
1
[LLVMdev] arm64 / iOS support
Attached is a working patch set for llvm to be able to emit arm64
(currently as triple aarch64-apple-ios) mach-o object files, in case
someone is interested. I'm not sure if the llvm maintainers want the
patch given the previous message that there's going to be an official
patch set from apple to support this, but here is mine.
What works (tested on an iPhone 5S):
* objc strings,
[LLVMdev] [PATCH] Output UTF-8-encoded characters as identifier characters into assembly by default.
2012 Apr 02
0
[LLVMdev] [PATCH] Output UTF-8-encoded characters as identifier characters into assembly by default.
This is a behaviour configurable in the MCAsmInfo. I've decided to turn
it on by default in (possibly optimistic) hopes that most assemblers are
reasonably sane. If this proves a problem, switching to default seems
reasonable.
---
include/llvm/MC/MCAsmInfo.h | 7 +++++++
lib/MC/MCAsmInfo.cpp | 1 +
lib/Target/Mangler.cpp | 11 +++++++----
3 files changed, 15 insertions(+),
2006 May 10
2
[LLVMdev] llvm-gcc4 & mingw32
Hello, Everyone.
This is just brief description on building llvm-gcc4 with mingw32.
It's definitely non error-free and contains many "hacks", which should
be eliminated in the future.
1. Prerequisites
We're building in the folowing configuration:
1.1 GCC 3.4.5:
gcc -v
Reading specs from f:/research/mingw/bin/../lib/gcc/mingw32/3.4.5/specs
Configured with: