Home
last modified time | relevance | path

Searched refs:globals (Results 1 – 25 of 1552) sorted by relevance

12345678910>>...63

/llvm-project-15.0.7/libcxxabi/src/
H A Dcxa_exception.cpp329 if (NULL != globals->propagatingExceptions) in __cxa_begin_cleanup()
373 globals->propagatingExceptions = NULL; in __cxa_end_cleanup_impl()
476 if (globals->caughtExceptions != 0) in __cxa_begin_catch()
479 globals->caughtExceptions = exception_header; in __cxa_begin_catch()
571 globals->caughtExceptions = 0; in __cxa_end_catch()
582 if (NULL == globals) in __cxa_current_exception_type()
614 globals->uncaughtExceptions += 1; in __cxa_rethrow()
623 globals->caughtExceptions = 0; in __cxa_rethrow()
693 if (NULL == globals) in __cxa_current_primary_exception()
769 if (globals == 0) in __cxa_uncaught_exceptions()
[all …]
H A Dcxa_handlers.cpp79 __cxa_eh_globals* globals = __cxa_get_globals_fast(); in terminate() local
80 if (globals) in terminate()
82 __cxa_exception* exception_header = globals->caughtExceptions; in terminate()
/llvm-project-15.0.7/llvm/test/DebugInfo/Generic/
H A Ddebug-names-many-cu.ll74 … 325732)", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !4, globals: !15)
80 … 325732)", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !4, globals: !25)
86 … 325732)", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !4, globals: !35)
92 … 325732)", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !4, globals: !45)
98 … 325732)", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !4, globals: !55)
104 … 325732)", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !4, globals: !65)
110 … 325732)", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !4, globals: !75)
116 … 325732)", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !4, globals: !85)
122 … 325732)", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !4, globals: !95)
128 …325732)", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !4, globals: !105)
[all …]
/llvm-project-15.0.7/compiler-rt/lib/asan/
H A Dasan_globals.cpp118 internal_memcpy(&globals[res], &g, sizeof(g)); in GetGlobalsForAddress()
354 void __asan_register_globals(__asan_global *globals, uptr n) { in __asan_register_globals() argument
364 GlobalRegistrationSite site = {stack_id, &globals[0], &globals[n - 1]}; in __asan_register_globals()
369 (void *)&globals[n - 1]); in __asan_register_globals()
372 if (SANITIZER_WINDOWS && globals[i].beg == 0) { in __asan_register_globals()
381 CHECK(globals[i].size == 0 && globals[i].size_with_redzone == 0 && in __asan_register_globals()
382 globals[i].name == nullptr && globals[i].module_name == nullptr && in __asan_register_globals()
383 globals[i].odr_indicator == 0); in __asan_register_globals()
386 RegisterGlobal(&globals[i]); in __asan_register_globals()
400 if (SANITIZER_WINDOWS && globals[i].beg == 0) { in __asan_unregister_globals()
[all …]
/llvm-project-15.0.7/llvm/test/Instrumentation/AddressSanitizer/
H A Dglobal_metadata_array.ll1 ; RUN: opt < %s -passes='asan-pipeline' -asan-globals-live-support=0 -mtriple=x86_64-unknown-linux-…
2 ; RUN: opt < %s -passes='asan-pipeline' -asan-globals-live-support=0 -mtriple=x86_64-apple-macosx10…
3 ; RUN: opt < %s -passes='asan-pipeline' -asan-globals-live-support=0 -mtriple=x86_64-pc-windows-msv…
4 ; RUN: opt < %s -passes='asan-pipeline' -asan-globals-live-support=0 -asan-mapping-scale=5 -mtriple…
16 ; Check that globals were instrumented:
58 !6 = !{!"/tmp/asan-globals.cpp", i32 5, i32 5}
59 !7 = !{!"/tmp/asan-globals.cpp", i32 7, i32 5}
60 !8 = !{!"/tmp/asan-globals.cpp", i32 12, i32 14}
61 !9 = !{!"/tmp/asan-globals.cpp", i32 14, i32 25}
H A Dglobal_metadata.ll1 ; RUN: opt < %s -passes='asan-pipeline' -asan-use-private-alias=0 -asan-globals-live-su…
3 ; RUN: opt < %s -passes='asan-pipeline' -asan-use-private-alias=1 -asan-globals-live-su…
4 ; RUN: opt < %s -passes='asan-pipeline' -asan-use-private-alias=1 -asan-globals-live-su…
17 ; Check that globals were instrumented:
66 !6 = !{!"/tmp/asan-globals.cpp", i32 5, i32 5}
67 !7 = !{!"/tmp/asan-globals.cpp", i32 7, i32 5}
68 !8 = !{!"/tmp/asan-globals.cpp", i32 12, i32 14}
69 !9 = !{!"/tmp/asan-globals.cpp", i32 14, i32 25}
H A Dglobal_with_comdat.ll2 ; of globals.
8 ; RUN: opt < %s -passes='asan-pipeline' -asan-globals-live-support=1 -S | FileCheck %s …
9 ; Check that enabling odr indicators enables comdat for globals.
10 ; RUN: opt < %s -passes='asan-pipeline' -asan-globals-live-support=1 -asan-use-odr-indi…
22 ; Check that globals were instrumented:
86 !6 = !{!"/tmp/asan-globals.cpp", i32 5, i32 5}
87 !7 = !{!"/tmp/asan-globals.cpp", i32 7, i32 5}
88 !8 = !{!"/tmp/asan-globals.cpp", i32 12, i32 14}
89 !9 = !{!"/tmp/asan-globals.cpp", i32 14, i32 25}
H A Dglobal_metadata_bitcasts.ll1 ; Test that the compiler doesn't crash when the llvm.asan.globals containts
4 ; RUN: opt < %s -passes='asan-pipeline' -asan-globals-live-support=1 -S
11 !llvm.asan.globals = !{!0, !1}
H A Dglobal_metadata_darwin.ll5 ; RUN: opt < %s -passes='asan-pipeline' -asan-use-private-alias=0 -asan-globals-live-su…
6 ; RUN: opt < %s -passes='asan-pipeline' -asan-use-private-alias=1 -asan-globals-live-su…
13 !llvm.asan.globals = !{!0}
16 !1 = !{!"test-globals.c", i32 1, i32 5}
/llvm-project-15.0.7/llvm/test/tools/UpdateTestChecks/update_test_checks/
H A Dgenerated_funcs.test8 ## Also try the --check-globals flag
9 # RUN: %update_test_checks %t.ll --check-globals
10 # RUN: diff -u %t.ll %S/Inputs/generated_funcs.ll.generated.globals.expected
19 ## Also try the --check-globals flag
20 # RUN: %update_test_checks %t.ll --check-globals
21 # RUN: diff -u %t.ll %S/Inputs/generated_funcs.ll.nogenerated.globals.expected
H A Dgenerated_funcs_prefix_reuse.test8 ## Also try the --check-globals flag
9 # RUN: %update_test_checks %t.ll --check-globals
10 # RUN: diff -u %t.ll %S/Inputs/generated_funcs_prefix_reuse.ll.generated.globals.expected
19 ## Also try the --check-globals flag
20 # RUN: %update_test_checks %t.ll --check-globals
21 # RUN: diff -u %t.ll %S/Inputs/generated_funcs_prefix_reuse.ll.nogenerated.globals.expected
H A Dvarious_ir_values.test16 ## Also try the --check-globals flag
17 # RUN: %update_test_checks %t.ll --check-globals
18 # RUN: diff -u %t.ll %S/Inputs/various_ir_values.ll.funcsig.globals.expected
/llvm-project-15.0.7/lldb/unittests/ScriptInterpreter/Python/
H A DPythonDataObjectsTests.cpp610 globals.get()); in TEST_F()
620 globals.get()); in TEST_F()
630 globals.get(), globals.get()); in TEST_F()
640 globals.get()); in TEST_F()
651 globals.get(), globals.get()); in TEST_F()
690 PyRun_String(script, Py_file_input, globals.get(), globals.get()); in TEST_F()
813 auto x = As<long long>(runStringOneLine("40 + 2", globals, globals)); in TEST_F()
817 Expected<PythonObject> r = runStringOneLine("n = 42", globals, globals); in TEST_F()
819 auto y = As<long long>(globals.GetItem("n")); in TEST_F()
829 r = runStringMultiLine(script, globals, globals); in TEST_F()
[all …]
/llvm-project-15.0.7/clang/test/utils/update_cc_test_checks/
H A Dcheck-globals.test3 # Check --check-globals in normal mode and in --include-generated-funcs mode.
5 RUN: cp %S/Inputs/check-globals.c %t/norm.c
6 RUN: %update_cc_test_checks %t/norm.c --check-globals
10 RUN: cp %S/Inputs/check-globals.c %t/igf.c
11 RUN: %update_cc_test_checks %t/igf.c --check-globals --include-generated-funcs
18 RUN: %update_cc_test_checks %t/norm-again.c --check-globals
23 RUN: %update_cc_test_checks %t/igf-again.c --check-globals \
41 …OTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --check-globals
42 …e been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --check-globals --include-generat…
/llvm-project-15.0.7/llvm/test/tools/llvm-pdbutil/
H A Dsymbol-filters.test3 ; RUN: llvm-pdbutil pretty -globals -module-syms -sym-types=data %p/Inputs/FilterTest.pdb \
6 ; RUN: llvm-pdbutil pretty -globals -module-syms -sym-types=thunks %p/Inputs/FilterTest.pdb \
9 ; RUN: llvm-pdbutil pretty -globals -module-syms -sym-types=funcs %p/Inputs/FilterTest.pdb \
12 ; RUN: llvm-pdbutil pretty -globals -module-syms -sym-types=funcs -sym-types=data \
15 ; RUN: llvm-pdbutil pretty -globals -module-syms -sym-types=data \
18 ; RUN: llvm-pdbutil pretty -globals -module-syms -sym-types=data \
21 ; RUN: llvm-pdbutil pretty -globals -module-syms -sym-types=funcs \
24 ; RUN: llvm-pdbutil pretty -globals -module-syms -sym-types=funcs \
/llvm-project-15.0.7/lld/test/COFF/
H A Dpdb-globals.test1 RUN: yaml2obj %S/Inputs/pdb-globals.yaml -o %t.obj
3 RUN: llvm-pdbutil dump -symbols -globals %t.pdb | FileCheck %s
6 RUN: llvm-pdbutil dump -symbols -globals %t.pdb | FileCheck %s
8 RUN: llvm-pdbutil dump -symbols -globals %t.pdb | FileCheck %s
10 # Test that we correctly distribute symbols between the globals and module
12 # * S_UDT, S_GDATA32, and S_CONSTANT end up in the globals stream, and are
15 # S_LPROCREF are added to the globals stream that refer to the module
/llvm-project-15.0.7/llvm/test/CodeGen/WebAssembly/
H A Dmutable-globals.ll1 ; RUN: llc < %s -mattr=+mutable-globals | FileCheck %s
3 ; Test that mutable globals is properly emitted into the target features section
15 ; CHECK-NEXT: .ascii "mutable-globals"
/llvm-project-15.0.7/llvm/test/Analysis/GlobalsModRef/
H A Ddead-uses.ll1 ; RUN: opt < %s -aa-pipeline=basic-aa,globals-aa -passes='function(instcombine),require<globals-aa>…
3 ; Make sure -globals-aa ignores dead uses of globals.
H A Daliastest.ll1 ; RUN: opt < %s -basic-aa -globals-aa -gvn -S -enable-unsafe-globalsmodref-alias-results | FileChec…
2 ; RUN: opt < %s -aa-pipeline=basic-aa,globals-aa -passes="require<globals-aa>,function(gvn)" -S -en…
H A Dpr35899-dbg-value.ll1 ; RUN: opt -S -strip-debug -globals-aa -instcombine < %s | FileCheck %s
2 ; RUN: opt -S -globals-aa -instcombine < %s | FileCheck %s
4 ; Having debug info around shouldn't affect what globals-aa and instcombine do.
37 …ized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !6, retainedTypes: !6, globals: !7)
H A Dpr25309.ll1 ; RUN: opt -aa-pipeline=basic-aa,globals-aa -passes='require<globals-aa>,gvn' < %s -S | FileCheck %s
7 ; indirect globals referring only to allocation functions.
H A Dfunctions_without_nosync.ll1 ; RUN: opt -globals-aa -gvn -S < %s | FileCheck %s
2 ; RUN: opt -aa-pipeline=basic-aa,globals-aa -passes='require<globals-aa>,gvn' -S < %s | FileCheck %s
/llvm-project-15.0.7/llvm/test/DebugInfo/PDB/
H A Dpdbdump-globals-empty.test1 RUN: llvm-pdbutil dump -globals %S/Inputs/pdbdump-globals-empty.pdb | FileCheck %s
/llvm-project-15.0.7/lldb/test/API/functionalities/tail_call_frames/ambiguous_tail_call_seq2/
H A DTestAmbiguousTailCallSeq2.py6 lldbinline.MakeInlineTest(__file__, globals(), name="AmbiguousTailCallSeq2_V5",
8 lldbinline.MakeInlineTest(__file__, globals(), name="AmbiguousTailCallSeq2_GNU",
/llvm-project-15.0.7/lldb/test/API/functionalities/tail_call_frames/ambiguous_tail_call_seq1/
H A DTestAmbiguousTailCallSeq1.py6 lldbinline.MakeInlineTest(__file__, globals(), name="AmbiguousTailCallSeq1_V5",
8 lldbinline.MakeInlineTest(__file__, globals(), name="AmbiguousTailCallSeq1_GNU",

12345678910>>...63