Open Quuxplusone opened 12 years ago
test.bc
Created attachment 9403 bitcode file Consider the test: $ cat test.cpp #include <stdio.h> int main(void) { try { throw 1; } catch(int x) { printf("%d\n", x); } return 0; } Exception handling-related debug info is not emmited in clang (DW_TAG_try_block, DW_TAG_catch_block). Bitcode file produced by clang is attached. Compilation line: clang -S -O0 -g test.cpp -emit-llvm -o test.bc Olga Chupina --- Software Engineer Intel Compiler Team Intel Corp.
Attached test.bc (5591 bytes, text/plain): bitcode file
test.bc
(5591 bytes, text/plain)