Skip to content

Escape sequence is output as it is #1

@nyarla

Description

@nyarla

I compiled this code to hello.ll with Compiler::CodeGenerator::LLVM.

#!/usr/bin/env perl

use strict;
use warnings;

print "Hello Perl on LLVM!\n";

But output of $ lli hello.ll is:

$ lli hello.ll
Hello Perl on LLVM!\n%
$

My written code is here: https://github.com/nyarla/perl-llvm-sample

Enviroments:

  • OSX Mountain Lion 10.8.5
  • LLVM is compiled with this command:
    • $ brew install https://raw.github.com/rhysd/homebrew/13dbf9d3af83297eec66eeee8e579d82ab598da2/Library/Formula/llvm.rb --HEAD --with-clang --with-libcxx --disable-assertions
  • Compiler::(Lexer|Parser|CodeGenerator::LLVM) is installed from your git repository.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions