search for: duplicatefunct

Displaying 2 results from an estimated 2 matches for "duplicatefunct".

2011 Sep 16
2
[LLVMdev] How to duplicate a function?
...I want to insert some instrumentation code. Here is my code that I am working on till now and it generates segmentation fault in the place I comment with "//////////////////////" Can you help me? Any advice will be helpful because I am a beginner in llvm. Thank you in advance. Shawn. duplicateFunction.cpp ============================================================================= //===- duplicateFunction.cpp - Writing an LLVM Pass -----------------------===// // // The LLVM Compiler Infrastructure // //===-----------------------------------------------------------------...
2011 Sep 16
0
[LLVMdev] How to duplicate a function?
...t I am working on till now and it generates segmentation fault in the place I comment with "//////////////////////" Can you help me? Any advice will be helpful because I am a beginner in llvm. dulpicateFunction.cpp, test.c, and Make file are attached. Thank you in advance. Shawn. //===- duplicateFunction.cpp - Writing an LLVM Pass -----------------------===// // // The LLVM Compiler Infrastructure // //===----------------------------------------------------------------------===// // // This file implements the LLVM duplicating function pass. // It starts by computing a new pr...