Permalink
Browse files

added some yadda yadda to lang/Exception's header

  • Loading branch information...
1 parent be80b64 commit bfd1035dff2b65af24e46002d809c1015bfe378f @fredreichbier fredreichbier committed Aug 31, 2010
Showing with 12 additions and 0 deletions.
  1. +12 −0 sdk/lang/Exception.ooc
View
@@ -1,3 +1,15 @@
+/**
+ For bestest backtraces, pass `-g +-rdynamic` to rock when compiling.
+
+ gcc's documentation for -rdynamic:
+ -rdynamic
+ Pass the flag -export-dynamic to the ELF linker, on targets that
+ support it. This instructs the linker to add all symbols, not only
+ used ones, to the dynamic symbol table. This option is needed for
+ some uses of "dlopen" or to allow obtaining backtraces from within a
+ program.
+
+ */
import threading/Thread, structs/Stack
include setjmp, assert, errno

0 comments on commit bfd1035

Please sign in to comment.