Displaying 3 results from an estimated 3 matches for "prevsect".
Did you mean:
prevect
2016 Aug 05
2
XRay: Demo on x86_64/Linux almost done; some questions.
...er::EmitXRayTable() {
if (Sleds.empty())
return;
if (Subtarget->isTargetELF()) {
auto *Section = OutContext.getELFSection(
"xray_instr_map", ELF::SHT_PROGBITS,
ELF::SHF_ALLOC | ELF::SHF_GROUP | ELF::SHF_MERGE, 0,
CurrentFnSym->getName());
auto PrevSection = OutStreamer->getCurrentSectionOnly();
OutStreamer->SwitchSection(Section);
for (const auto &Sled : Sleds) {
OutStreamer->EmitSymbolValue(Sled.Sled, 8);
OutStreamer->EmitSymbolValue(CurrentFnSym, 8);
auto Kind = static_cast<uint8_t>(Sled.Kind);...
2016 Aug 04
2
XRay: Demo on x86_64/Linux almost done; some questions.
> On 4 Aug 2016, at 06:27, Serge Rogatch <serge.rogatch at gmail.com> wrote:
>
> Hi Dean,
>
> I have a question about the following piece of code in compiler-rt/trunk/lib/xray/xray_trampoline_x86.S :
> movq _ZN6__xray19XRayPatchedFunctionE(%rip), %rax
> testq %rax, %rax
> je .Ltmp0
>
> // assume that %r10d has the function id.
> movl %r10d,
2016 Aug 08
2
XRay: Demo on x86_64/Linux almost done; some questions.
...> if (Subtarget->isTargetELF()) {
> > auto *Section = OutContext.getELFSection(
> > "xray_instr_map", ELF::SHT_PROGBITS,
> > ELF::SHF_ALLOC | ELF::SHF_GROUP | ELF::SHF_MERGE, 0,
> > CurrentFnSym->getName());
> > auto PrevSection = OutStreamer->getCurrentSectionOnly();
> > OutStreamer->SwitchSection(Section);
> > for (const auto &Sled : Sleds) {
> > OutStreamer->EmitSymbolValue(Sled.Sled, 8);
> > OutStreamer->EmitSymbolValue(CurrentFnSym, 8);
> > aut...