Git Product home page Git Product logo

Comments (7)

lingda-li avatar lingda-li commented on August 24, 2024 4

Another possibility that 'dump' cannot be found is the clang you use is a 'release build', so it does not include 'dump' function. Trying to build a 'debug' mode clang may solve the problem.

from llvm-pass-skeleton.

sampsyo avatar sampsyo commented on August 24, 2024

Hello! As the README says, this was written for LLVM 3.8. (Any help with the port would be appreciated.)

from llvm-pass-skeleton.

schwarzschild-radius avatar schwarzschild-radius commented on August 24, 2024

Hello, Adrian. Instead of using dump(), you can directly use the variable to print out the contents.

from llvm-pass-skeleton.

sampsyo avatar sampsyo commented on August 24, 2024

OK! Iā€™d accept a pull request if you can offer one. šŸ‘

from llvm-pass-skeleton.

schwarzschild-radius avatar schwarzschild-radius commented on August 24, 2024

Hello, Adrian. Your code in the repository is working perfect, except your code shown in your blog. That second example that prints out the instruction inside blocks inside functions. I don't think this issue needs a pull request. You can update your blog post

from llvm-pass-skeleton.

sampsyo avatar sampsyo commented on August 24, 2024

Aha, got it! In fact, the post is on GitHub too. šŸ˜ƒ So if you have a moment, please do consider sending a PR there.

from llvm-pass-skeleton.

gessha avatar gessha commented on August 24, 2024

Rebuilt LLVM in Debug mode, compiled the skeleton pass with it and it worked!

LLVM/Clang version used 4.0.1

N.B.! Remember to cmake with paths to the built compilers and not the system ones!

from llvm-pass-skeleton.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.