{"action":"created","issue":{"url":"https://api.github.com/repos/santoshn/softboundcets-34/issues/7","repository_url":"https://api.github.com/repos/santoshn/softboundcets-34","labels_url":"https://api.github.com/repos/santoshn/softboundcets-34/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/santoshn/softboundcets-34/issues/7/comments","events_url":"https://api.github.com/repos/santoshn/softboundcets-34/issues/7/events","html_url":"https://github.com/santoshn/softboundcets-34/issues/7","id":112438539,"number":7,"title":"C++ Exceptions","user":{"login":"edmcman","id":1017189,"avatar_url":"https://avatars.githubusercontent.com/u/1017189?v=3","gravatar_id":"","url":"https://api.github.com/users/edmcman","html_url":"https://github.com/edmcman","followers_url":"https://api.github.com/users/edmcman/followers","following_url":"https://api.github.com/users/edmcman/following{/other_user}","gists_url":"https://api.github.com/users/edmcman/gists{/gist_id}","starred_url":"https://api.github.com/users/edmcman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edmcman/subscriptions","organizations_url":"https://api.github.com/users/edmcman/orgs","repos_url":"https://api.github.com/users/edmcman/repos","events_url":"https://api.github.com/users/edmcman/events{/privacy}","received_events_url":"https://api.github.com/users/edmcman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2015-10-20T19:05:01Z","updated_at":"2016-07-19T15:31:50Z","closed_at":null,"body":"It seems like any code containing C++ exceptions will cause a compilation error.\r\n\r\n```\r\nclass MyException\r\n{\r\n public:\r\n  MyException() { }\r\n  ~MyException() { }\r\n};\r\n\r\nvoid my_throwing_function(bool throwit)\r\n{\r\n  if (throwit)\r\n    throw MyException();\r\n}\r\n\r\nvoid another_function();\r\nvoid log(unsigned count);\r\n\r\nvoid my_catching_function()\r\n{\r\n  log(0);\r\n    try\r\n      {\r\n        log(1);\r\n        another_function();\r\n        log(2);\r\n      }\r\n    catch (const MyException& e)\r\n      {\r\n        log(3);\r\n      }\r\n    log(4);\r\n}\r\n```\r\n\r\n```\r\nfuzz@ubufuzz64:~/exception$ /data/softboundcets-34/softboundcets-llvm-clang34/Debug+Asserts/bin/clang++ -O0 -fsoftboundcets -fno-vectorize -c test.cpp\r\nclang: SoftBoundCETS.cpp:4167: void SoftBoundCETSPass::handleExtractValue(llvm::ExtractValueInst*): Assertion `0 && \"ExtractValue is returning a pointer, possibly some vectorization going on, not handled, try run\r\nning with O0 or O1 or O2\"' failed.\r\n0  clang           0x00000000033d0ac7 llvm::sys::PrintStackTrace(_IO_FILE*) + 38\r\n1  clang           0x00000000033d0d4e\r\n2  clang           0x00000000033d0792\r\n3  libpthread.so.0 0x00007ffff7bcccb0\r\n4  libc.so.6       0x00007ffff6e110d5 gsignal + 53\r\n5  libc.so.6       0x00007ffff6e1483b abort + 379\r\n6  libc.so.6       0x00007ffff6e09d9e\r\n7  libc.so.6       0x00007ffff6e09e42\r\n8  clang           0x000000000220473b SoftBoundCETSPass::handleExtractValue(llvm::ExtractValueInst*) + 79\r\n9  clang           0x0000000002206275 SoftBoundCETSPass::gatherBaseBoundPass1(llvm::Function*) + 2587\r\n10 clang           0x0000000002208430 SoftBoundCETSPass::runOnModule(llvm::Module&) + 952\r\n11 clang           0x0000000003348817\r\n```"},"comment":{"url":"https://api.github.com/repos/santoshn/softboundcets-34/issues/comments/233670948","html_url":"https://github.com/santoshn/softboundcets-34/issues/7#issuecomment-233670948","issue_url":"https://api.github.com/repos/santoshn/softboundcets-34/issues/7","id":233670948,"user":{"login":"OleksiiOleksenko","id":3688171,"avatar_url":"https://avatars.githubusercontent.com/u/3688171?v=3","gravatar_id":"","url":"https://api.github.com/users/OleksiiOleksenko","html_url":"https://github.com/OleksiiOleksenko","followers_url":"https://api.github.com/users/OleksiiOleksenko/followers","following_url":"https://api.github.com/users/OleksiiOleksenko/following{/other_user}","gists_url":"https://api.github.com/users/OleksiiOleksenko/gists{/gist_id}","starred_url":"https://api.github.com/users/OleksiiOleksenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OleksiiOleksenko/subscriptions","organizations_url":"https://api.github.com/users/OleksiiOleksenko/orgs","repos_url":"https://api.github.com/users/OleksiiOleksenko/repos","events_url":"https://api.github.com/users/OleksiiOleksenko/events{/privacy}","received_events_url":"https://api.github.com/users/OleksiiOleksenko/received_events","type":"User","site_admin":false},"created_at":"2016-07-19T15:31:50Z","updated_at":"2016-07-19T15:31:50Z","body":"Hi,\r\n\r\n> softboundcets does not handle C++ code yet\r\n\r\nis this still valid?\r\n\r\nThanks"}}
{"actor":{"display_login":"OleksiiOleksenko"}}