|
8 | 8 | ; }; |
9 | 9 | ; long test(std::exception *p) { |
10 | 10 | ; const char* ch = p->what(); |
11 | | -; return std::strlen(ch); |
| 11 | +; ...; |
12 | 12 | ; } |
13 | 13 | ; |
14 | 14 | ; Build command is "clang++ -O2 -target x86_64-unknown-linux -flto=thin \ |
|
21 | 21 | target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" |
22 | 22 | target triple = "x86_64-unknown-linux" |
23 | 23 |
|
24 | | -@_ZTVSt9exception = available_externally constant { [5 x ptr] } { [5 x ptr] [ptr null, ptr null, ptr null, ptr null, ptr @_ZNKSt9exception4whatEv] }, !type !0, !type !1, !vcall_visibility !2 |
25 | | -@_ZTV1A.0 = constant [5 x ptr] [ptr null, ptr null, ptr null, ptr null, ptr @_ZNK1A4whatEv], !type !3, !type !4, !type !5, !type !6, !vcall_visibility !2 |
| 24 | +@_ZTVSt9exception = available_externally constant { [5 x ptr] } { [5 x ptr] [ptr null, ptr null, ptr null, ptr null, ptr @_ZNKSt9exception4whatEv] }, !type !0, !type !1 |
| 25 | +@_ZTV1A.0 = constant [5 x ptr] [ptr null, ptr null, ptr null, ptr null, ptr @_ZNK1A4whatEv], !type !3, !type !4, !type !5, !type !6 |
26 | 26 |
|
27 | 27 | declare ptr @_ZNKSt9exception4whatEv() |
28 | 28 |
|
@@ -50,7 +50,6 @@ attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memo |
50 | 50 |
|
51 | 51 | !0 = !{i64 16, !"_ZTSSt9exception"} |
52 | 52 | !1 = !{i64 32, !"_ZTSMSt9exceptionKDoFPKcvE.virtual"} |
53 | | -!2 = !{i64 1} |
54 | 53 | !3 = !{i32 16, !"_ZTS1A"} |
55 | 54 | !4 = !{i32 32, !"_ZTSM1AKDoFPKcvE.virtual"} |
56 | 55 | !5 = !{i32 16, !"_ZTSSt9exception"} |
|
0 commit comments