Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit a6f1031

Browse files
committed
Update links to "Itanium C++ ABI: Exception Handling" document
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172356 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 08219ea commit a6f1031

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

examples/ExceptionDemo/ExceptionDemo.cpp

+9-9
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
// Cases -1 and 7 are caught by a C++ test harness where the validity of
4242
// of a C++ catch(...) clause catching a generated exception with a
4343
// type info type of 7 is explained by: example in rules 1.6.4 in
44-
// http://sourcery.mentor.com/public/cxx-abi/abi-eh.html (v1.22)
44+
// http://mentorembedded.github.com/cxx-abi/abi-eh.html (v1.22)
4545
//
4646
// This code uses code from the llvm compiler-rt project and the llvm
4747
// Kaleidoscope project.
@@ -82,7 +82,7 @@
8282
#endif
8383

8484
// System C++ ABI unwind types from:
85-
// http://sourcery.mentor.com/public/cxx-abi/abi-eh.html (v1.22)
85+
// http://mentorembedded.github.com/cxx-abi/abi-eh.html (v1.22)
8686

8787
extern "C" {
8888

@@ -151,7 +151,7 @@ struct OurExceptionType_t {
151151
///
152152
/// Note: The above unwind.h defines struct _Unwind_Exception to be aligned
153153
/// on a double word boundary. This is necessary to match the standard:
154-
/// http://refspecs.freestandards.org/abi-eh-1.21.html
154+
/// http://mentorembedded.github.com/cxx-abi/abi-eh.html
155155
struct OurBaseException_t {
156156
struct OurExceptionType_t type;
157157

@@ -339,7 +339,7 @@ void deleteOurException(OurUnwindException *expToDelete) {
339339
/// This function is the struct _Unwind_Exception API mandated delete function
340340
/// used by foreign exception handlers when deleting our exception
341341
/// (OurException), instances.
342-
/// @param reason @link http://refspecs.freestandards.org/abi-eh-1.21.html
342+
/// @param reason @link http://mentorembedded.github.com/cxx-abi/abi-eh.html
343343
/// @unlink
344344
/// @param expToDelete exception instance to delete
345345
void deleteFromUnwindOurException(_Unwind_Reason_Code reason,
@@ -512,7 +512,7 @@ static uintptr_t readEncodedPointer(const uint8_t **data, uint8_t encoding) {
512512
/// are supported. Filters are not supported.
513513
/// See Variable Length Data in:
514514
/// @link http://dwarfstd.org/Dwarf3.pdf @unlink
515-
/// Also see @link http://refspecs.freestandards.org/abi-eh-1.21.html @unlink
515+
/// Also see @link http://mentorembedded.github.com/cxx-abi/abi-eh.html @unlink
516516
/// @param resultAction reference variable which will be set with result
517517
/// @param classInfo our array of type info pointers (to globals)
518518
/// @param actionEntry index into above type info array or 0 (clean up).
@@ -599,7 +599,7 @@ static bool handleActionValue(int64_t *resultAction,
599599

600600

601601
/// Deals with the Language specific data portion of the emitted dwarf code.
602-
/// See @link http://refspecs.freestandards.org/abi-eh-1.21.html @unlink
602+
/// See @link http://mentorembedded.github.com/cxx-abi/abi-eh.html @unlink
603603
/// @param version unsupported (ignored), unwind version
604604
/// @param lsda language specific data area
605605
/// @param _Unwind_Action actions minimally supported unwind stage
@@ -783,7 +783,7 @@ static _Unwind_Reason_Code handleLsda(int version,
783783

784784
/// This is the personality function which is embedded (dwarf emitted), in the
785785
/// dwarf unwind info block. Again see: JITDwarfEmitter.cpp.
786-
/// See @link http://refspecs.freestandards.org/abi-eh-1.21.html @unlink
786+
/// See @link http://mentorembedded.github.com/cxx-abi/abi-eh.html @unlink
787787
/// @param version unsupported (ignored), unwind version
788788
/// @param _Unwind_Action actions minimally supported unwind stage
789789
/// (forced specifically not supported)
@@ -831,7 +831,7 @@ _Unwind_Reason_Code ourPersonality(int version,
831831
/// Generates our _Unwind_Exception class from a given character array.
832832
/// thereby handling arbitrary lengths (not in standard), and handling
833833
/// embedded \0s.
834-
/// See @link http://refspecs.freestandards.org/abi-eh-1.21.html @unlink
834+
/// See @link http://mentorembedded.github.com/cxx-abi/abi-eh.html @unlink
835835
/// @param classChars char array to encode. NULL values not checkedf
836836
/// @param classCharsSize number of chars in classChars. Value is not checked.
837837
/// @returns class value
@@ -1592,7 +1592,7 @@ void runExceptionThrow(llvm::ExecutionEngine *engine,
15921592
catch (...) {
15931593
// Catch all exceptions including our generated ones. This latter
15941594
// functionality works according to the example in rules 1.6.4 of
1595-
// http://sourcery.mentor.com/public/cxx-abi/abi-eh.html (v1.22),
1595+
// http://mentorembedded.github.com/cxx-abi/abi-eh.html (v1.22),
15961596
// given that these will be exceptions foreign to C++
15971597
// (the _Unwind_Exception::exception_class should be different from
15981598
// the one used by C++).

0 commit comments

Comments
 (0)