{"action":"created","comment":{"url":"https://api.github.com/repos/scheah/llvm-clang/pulls/comments/29098483","id":29098483,"diff_hunk":"@@ -8,24 +8,20 @@ LDFLAGS=\n #LLVMLIBS=`llvm-config --libs`\n #LDFLAGS=`llvm-config --ldflags`\n \n-FILES=$1/*.bc\n-for f in $FILES\n-do\n-\tfilename=$(basename \"$f\")\n-\tfilename=\"${filename%.*}\"\n-\topt -load $LLVMLIB/CSE231.so -branchbias < $f > $CSE231ROOT/$filename.pass.bc\n-\t## compile the instrumentation module to bitcode\n-\tclang $CPPFLAGS -O0 -emit-llvm -c $INSTRUMENTATION/branchbias/BranchBiasInstrumentation.cpp -o $INSTRUMENTATION/branchbias/BranchBiasInstrumentation.bc\n+filename=$(basename \"$1\")\n+filename=\"${filename%.*}\"","path":"runscripts/run-section3.sh","position":13,"original_position":13,"commit_id":"6ff818c8942b72054c7932acfa366fd15592d871","original_commit_id":"6ff818c8942b72054c7932acfa366fd15592d871","user":{"login":"scheah","id":5343482,"avatar_url":"https://avatars.githubusercontent.com/u/5343482?v=3","gravatar_id":"","url":"https://api.github.com/users/scheah","html_url":"https://github.com/scheah","followers_url":"https://api.github.com/users/scheah/followers","following_url":"https://api.github.com/users/scheah/following{/other_user}","gists_url":"https://api.github.com/users/scheah/gists{/gist_id}","starred_url":"https://api.github.com/users/scheah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scheah/subscriptions","organizations_url":"https://api.github.com/users/scheah/orgs","repos_url":"https://api.github.com/users/scheah/repos","events_url":"https://api.github.com/users/scheah/events{/privacy}","received_events_url":"https://api.github.com/users/scheah/received_events","type":"User","site_admin":false},"body":"line 12 not needed","created_at":"2015-04-25T06:48:02Z","updated_at":"2015-04-25T06:48:02Z","html_url":"https://github.com/scheah/llvm-clang/pull/2#discussion_r29098483","pull_request_url":"https://api.github.com/repos/scheah/llvm-clang/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/scheah/llvm-clang/pulls/comments/29098483"},"html":{"href":"https://github.com/scheah/llvm-clang/pull/2#discussion_r29098483"},"pull_request":{"href":"https://api.github.com/repos/scheah/llvm-clang/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/scheah/llvm-clang/pulls/2","id":34101776,"html_url":"https://github.com/scheah/llvm-clang/pull/2","diff_url":"https://github.com/scheah/llvm-clang/pull/2.diff","patch_url":"https://github.com/scheah/llvm-clang/pull/2.patch","issue_url":"https://api.github.com/repos/scheah/llvm-clang/issues/2","number":2,"state":"open","locked":false,"title":"Chmod script files and use name of benchmark for .bc file.","user":{"login":"patrickbird","id":2677750,"avatar_url":"https://avatars.githubusercontent.com/u/2677750?v=3","gravatar_id":"","url":"https://api.github.com/users/patrickbird","html_url":"https://github.com/patrickbird","followers_url":"https://api.github.com/users/patrickbird/followers","following_url":"https://api.github.com/users/patrickbird/following{/other_user}","gists_url":"https://api.github.com/users/patrickbird/gists{/gist_id}","starred_url":"https://api.github.com/users/patrickbird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrickbird/subscriptions","organizations_url":"https://api.github.com/users/patrickbird/orgs","repos_url":"https://api.github.com/users/patrickbird/repos","events_url":"https://api.github.com/users/patrickbird/events{/privacy}","received_events_url":"https://api.github.com/users/patrickbird/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-25T06:38:31Z","updated_at":"2015-04-25T06:48:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1934a9e75095f59a198709683a28d0b1c4337765","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/scheah/llvm-clang/pulls/2/commits","review_comments_url":"https://api.github.com/repos/scheah/llvm-clang/pulls/2/comments","review_comment_url":"https://api.github.com/repos/scheah/llvm-clang/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scheah/llvm-clang/issues/2/comments","statuses_url":"https://api.github.com/repos/scheah/llvm-clang/statuses/6ff818c8942b72054c7932acfa366fd15592d871","head":{"label":"scheah:one-bc-file","ref":"one-bc-file","sha":"6ff818c8942b72054c7932acfa366fd15592d871","user":{"login":"scheah","id":5343482,"avatar_url":"https://avatars.githubusercontent.com/u/5343482?v=3","gravatar_id":"","url":"https://api.github.com/users/scheah","html_url":"https://github.com/scheah","followers_url":"https://api.github.com/users/scheah/followers","following_url":"https://api.github.com/users/scheah/following{/other_user}","gists_url":"https://api.github.com/users/scheah/gists{/gist_id}","starred_url":"https://api.github.com/users/scheah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scheah/subscriptions","organizations_url":"https://api.github.com/users/scheah/orgs","repos_url":"https://api.github.com/users/scheah/repos","events_url":"https://api.github.com/users/scheah/events{/privacy}","received_events_url":"https://api.github.com/users/scheah/received_events","type":"User","site_admin":false},"repo":{"id":34359626,"name":"llvm-clang","full_name":"scheah/llvm-clang","owner":{"login":"scheah","id":5343482,"avatar_url":"https://avatars.githubusercontent.com/u/5343482?v=3","gravatar_id":"","url":"https://api.github.com/users/scheah","html_url":"https://github.com/scheah","followers_url":"https://api.github.com/users/scheah/followers","following_url":"https://api.github.com/users/scheah/following{/other_user}","gists_url":"https://api.github.com/users/scheah/gists{/gist_id}","starred_url":"https://api.github.com/users/scheah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scheah/subscriptions","organizations_url":"https://api.github.com/users/scheah/orgs","repos_url":"https://api.github.com/users/scheah/repos","events_url":"https://api.github.com/users/scheah/events{/privacy}","received_events_url":"https://api.github.com/users/scheah/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/scheah/llvm-clang","description":"","fork":false,"url":"https://api.github.com/repos/scheah/llvm-clang","forks_url":"https://api.github.com/repos/scheah/llvm-clang/forks","keys_url":"https://api.github.com/repos/scheah/llvm-clang/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scheah/llvm-clang/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scheah/llvm-clang/teams","hooks_url":"https://api.github.com/repos/scheah/llvm-clang/hooks","issue_events_url":"https://api.github.com/repos/scheah/llvm-clang/issues/events{/number}","events_url":"https://api.github.com/repos/scheah/llvm-clang/events","assignees_url":"https://api.github.com/repos/scheah/llvm-clang/assignees{/user}","branches_url":"https://api.github.com/repos/scheah/llvm-clang/branches{/branch}","tags_url":"https://api.github.com/repos/scheah/llvm-clang/tags","blobs_url":"https://api.github.com/repos/scheah/llvm-clang/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scheah/llvm-clang/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scheah/llvm-clang/git/refs{/sha}","trees_url":"https://api.github.com/repos/scheah/llvm-clang/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scheah/llvm-clang/statuses/{sha}","languages_url":"https://api.github.com/repos/scheah/llvm-clang/languages","stargazers_url":"https://api.github.com/repos/scheah/llvm-clang/stargazers","contributors_url":"https://api.github.com/repos/scheah/llvm-clang/contributors","subscribers_url":"https://api.github.com/repos/scheah/llvm-clang/subscribers","subscription_url":"https://api.github.com/repos/scheah/llvm-clang/subscription","commits_url":"https://api.github.com/repos/scheah/llvm-clang/commits{/sha}","git_commits_url":"https://api.github.com/repos/scheah/llvm-clang/git/commits{/sha}","comments_url":"https://api.github.com/repos/scheah/llvm-clang/comments{/number}","issue_comment_url":"https://api.github.com/repos/scheah/llvm-clang/issues/comments{/number}","contents_url":"https://api.github.com/repos/scheah/llvm-clang/contents/{+path}","compare_url":"https://api.github.com/repos/scheah/llvm-clang/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scheah/llvm-clang/merges","archive_url":"https://api.github.com/repos/scheah/llvm-clang/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scheah/llvm-clang/downloads","issues_url":"https://api.github.com/repos/scheah/llvm-clang/issues{/number}","pulls_url":"https://api.github.com/repos/scheah/llvm-clang/pulls{/number}","milestones_url":"https://api.github.com/repos/scheah/llvm-clang/milestones{/number}","notifications_url":"https://api.github.com/repos/scheah/llvm-clang/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scheah/llvm-clang/labels{/name}","releases_url":"https://api.github.com/repos/scheah/llvm-clang/releases{/id}","created_at":"2015-04-22T00:34:18Z","updated_at":"2015-04-25T04:21:56Z","pushed_at":"2015-04-25T06:38:31Z","git_url":"git://github.com/scheah/llvm-clang.git","ssh_url":"git@github.com:scheah/llvm-clang.git","clone_url":"https://github.com/scheah/llvm-clang.git","svn_url":"https://github.com/scheah/llvm-clang","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"scheah:master","ref":"master","sha":"f1f2857d1c521b4998c0559d660caa6e60099054","user":{"login":"scheah","id":5343482,"avatar_url":"https://avatars.githubusercontent.com/u/5343482?v=3","gravatar_id":"","url":"https://api.github.com/users/scheah","html_url":"https://github.com/scheah","followers_url":"https://api.github.com/users/scheah/followers","following_url":"https://api.github.com/users/scheah/following{/other_user}","gists_url":"https://api.github.com/users/scheah/gists{/gist_id}","starred_url":"https://api.github.com/users/scheah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scheah/subscriptions","organizations_url":"https://api.github.com/users/scheah/orgs","repos_url":"https://api.github.com/users/scheah/repos","events_url":"https://api.github.com/users/scheah/events{/privacy}","received_events_url":"https://api.github.com/users/scheah/received_events","type":"User","site_admin":false},"repo":{"id":34359626,"name":"llvm-clang","full_name":"scheah/llvm-clang","owner":{"login":"scheah","id":5343482,"avatar_url":"https://avatars.githubusercontent.com/u/5343482?v=3","gravatar_id":"","url":"https://api.github.com/users/scheah","html_url":"https://github.com/scheah","followers_url":"https://api.github.com/users/scheah/followers","following_url":"https://api.github.com/users/scheah/following{/other_user}","gists_url":"https://api.github.com/users/scheah/gists{/gist_id}","starred_url":"https://api.github.com/users/scheah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scheah/subscriptions","organizations_url":"https://api.github.com/users/scheah/orgs","repos_url":"https://api.github.com/users/scheah/repos","events_url":"https://api.github.com/users/scheah/events{/privacy}","received_events_url":"https://api.github.com/users/scheah/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/scheah/llvm-clang","description":"","fork":false,"url":"https://api.github.com/repos/scheah/llvm-clang","forks_url":"https://api.github.com/repos/scheah/llvm-clang/forks","keys_url":"https://api.github.com/repos/scheah/llvm-clang/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scheah/llvm-clang/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scheah/llvm-clang/teams","hooks_url":"https://api.github.com/repos/scheah/llvm-clang/hooks","issue_events_url":"https://api.github.com/repos/scheah/llvm-clang/issues/events{/number}","events_url":"https://api.github.com/repos/scheah/llvm-clang/events","assignees_url":"https://api.github.com/repos/scheah/llvm-clang/assignees{/user}","branches_url":"https://api.github.com/repos/scheah/llvm-clang/branches{/branch}","tags_url":"https://api.github.com/repos/scheah/llvm-clang/tags","blobs_url":"https://api.github.com/repos/scheah/llvm-clang/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scheah/llvm-clang/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scheah/llvm-clang/git/refs{/sha}","trees_url":"https://api.github.com/repos/scheah/llvm-clang/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scheah/llvm-clang/statuses/{sha}","languages_url":"https://api.github.com/repos/scheah/llvm-clang/languages","stargazers_url":"https://api.github.com/repos/scheah/llvm-clang/stargazers","contributors_url":"https://api.github.com/repos/scheah/llvm-clang/contributors","subscribers_url":"https://api.github.com/repos/scheah/llvm-clang/subscribers","subscription_url":"https://api.github.com/repos/scheah/llvm-clang/subscription","commits_url":"https://api.github.com/repos/scheah/llvm-clang/commits{/sha}","git_commits_url":"https://api.github.com/repos/scheah/llvm-clang/git/commits{/sha}","comments_url":"https://api.github.com/repos/scheah/llvm-clang/comments{/number}","issue_comment_url":"https://api.github.com/repos/scheah/llvm-clang/issues/comments{/number}","contents_url":"https://api.github.com/repos/scheah/llvm-clang/contents/{+path}","compare_url":"https://api.github.com/repos/scheah/llvm-clang/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scheah/llvm-clang/merges","archive_url":"https://api.github.com/repos/scheah/llvm-clang/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scheah/llvm-clang/downloads","issues_url":"https://api.github.com/repos/scheah/llvm-clang/issues{/number}","pulls_url":"https://api.github.com/repos/scheah/llvm-clang/pulls{/number}","milestones_url":"https://api.github.com/repos/scheah/llvm-clang/milestones{/number}","notifications_url":"https://api.github.com/repos/scheah/llvm-clang/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scheah/llvm-clang/labels{/name}","releases_url":"https://api.github.com/repos/scheah/llvm-clang/releases{/id}","created_at":"2015-04-22T00:34:18Z","updated_at":"2015-04-25T04:21:56Z","pushed_at":"2015-04-25T06:38:31Z","git_url":"git://github.com/scheah/llvm-clang.git","ssh_url":"git@github.com:scheah/llvm-clang.git","clone_url":"https://github.com/scheah/llvm-clang.git","svn_url":"https://github.com/scheah/llvm-clang","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scheah/llvm-clang/pulls/2"},"html":{"href":"https://github.com/scheah/llvm-clang/pull/2"},"issue":{"href":"https://api.github.com/repos/scheah/llvm-clang/issues/2"},"comments":{"href":"https://api.github.com/repos/scheah/llvm-clang/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/scheah/llvm-clang/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/scheah/llvm-clang/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scheah/llvm-clang/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/scheah/llvm-clang/statuses/6ff818c8942b72054c7932acfa366fd15592d871"}}}}