summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2016-11-20 02:36:36 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2016-11-20 02:36:36 +0000
commitc0e4e7d9906fdb9a0a48cedcceb8c40591e52ea7 (patch)
tree4e3a1f04db1f0033b5aa32b7e53e580b26b0f722 /llvm/lib/Support/CommandLine.cpp
parente6ddac0def7c2e9c1c250e2eee06cf02d0cea65d (diff)
downloadbcm5719-llvm-c0e4e7d9906fdb9a0a48cedcceb8c40591e52ea7.tar.gz
bcm5719-llvm-c0e4e7d9906fdb9a0a48cedcceb8c40591e52ea7.zip
ExceptionDemo: prefer headers over redeclarations
Rather than redeclaring the interfaces for exceptions, prefer using the `unwind.h` header. This is vended by at least gcc and clang, and can also be found by an external unwinding library (e.g. libunwind). Doing this simplifies the example to the exception handling itself. Minor tweaks are the result of _Unwind_Context_t not being defined, which is just a typedef for struct _Unwind_Context *. NFC. llvm-svn: 287478
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud