{"id":17111480,"url":"https://github.com/jkrt/llvmpasses","last_synced_at":"2025-03-23T22:21:41.699Z","repository":{"id":98472941,"uuid":"168002649","full_name":"JKRT/LLVMPasses","owner":"JKRT","description":"Simple trivial example on how to run an LLVM module and LLVM function pass","archived":false,"fork":false,"pushed_at":"2021-03-05T11:50:27.000Z","size":10,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-29T05:32:24.089Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JKRT.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-28T17:15:15.000Z","updated_at":"2021-03-05T11:50:29.000Z","dependencies_parsed_at":"2023-06-01T21:45:45.508Z","dependency_job_id":null,"html_url":"https://github.com/JKRT/LLVMPasses","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JKRT%2FLLVMPasses","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JKRT%2FLLVMPasses/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JKRT%2FLLVMPasses/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JKRT%2FLLVMPasses/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JKRT","download_url":"https://codeload.github.com/JKRT/LLVMPasses/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245176402,"owners_count":20572944,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T16:53:52.993Z","updated_at":"2025-03-23T22:21:41.693Z","avatar_url":"https://github.com/JKRT.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LLVMPasses\nSimple trivial example on how to run an LLVM module and LLVM function pass using LLVM 6.\n\nRun by executing \n\nmake runFunctionPassOnTestFile\n\nOr \n\nmake runModulePassOnTestfile\n\nLLVM 6.0 and it's dependencies are needed for this to work.\n\n# Note\nIf you get the following error\n```\nopt: CommandLine Error: Option 'debug-pass' registered more than once!\nLLVM ERROR: inconsistency in registered CommandLine options\nmake: *** [Makefile:19: runFunctionPassOnTestFile] Error 1\n```\nThis is most likley due to llvm reporting the following when issuing the following command:\n```\n./bin/llvm-config --shared-mode\nstatic\n```\nIf this is the case, modify the makefile as follows \n```\nLLVM_INCLUDEDIR = `llvm-config --includedir`\nLLVM_FLAGS = `llvm-config --cxxflags`\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjkrt%2Fllvmpasses","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjkrt%2Fllvmpasses","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjkrt%2Fllvmpasses/lists"}