/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/chrono/ |
H A D | TestDataFormatterLibcxxChrono.py | 38 substrs=["ss_tp = date/time=1970-01-01T00:00:00Z timestamp=0 s"], 42 substrs=["ss_tp_d = date/time=1970-01-01T00:00:00Z timestamp=0 s"], 46 substrs=["ss_tp_d_r = date/time=1970-01-01T00:00:00Z timestamp=0 s"], 50 substrs=["ss_tp_d_r2 = date/time=1970-01-01T00:00:00Z timestamp=0 s"], 55 substrs=["ss_0 = date/time=1970-01-01T00:00:00Z timestamp=0 s"], 62 "ss_neg_date_time = date/time=-32767-01-01T00:00:00Z timestamp=-1096193779200 s" 64 else "ss_neg_date_time = timestamp=-1096193779200 s" 70 substrs=["ss_neg_seconds = timestamp=-1096193779201 s"], 77 "ss_pos_date_time = date/time=32767-12-31T23:59:59Z timestamp=971890963199 s" 79 else "ss_pos_date_time = timestamp=971890963199 s" [all …]
|
/llvm-project/clang/test/PCH/ |
H A D | include-timestamp.cpp | 1 // Test that the timestamp is not included in the produced pch file with 2 // -fno-pch-timestamp. 11 // Check timestamp is included by default. 14 // RUN: not %clang_cc1 -include-pch %t %t-dir/1.cpp 2>&1 | FileCheck -check-prefix=CHECK-TIMESTAMP … 17 // RUN: llvm-bcanalyzer -dump %t | FileCheck -check-prefix=CHECK-BITCODE-TIMESTAMP-ON %s 19 // Check timestamp inclusion is disabled by -fno-pch-timestamp. 20 // RUN: %clang_cc1 -x c++-header -emit-pch -o %t %t-dir/pragma-once2-pch.h -fno-pch-timestamp 25 // RUN: llvm-bcanalyzer -dump %t | FileCheck -check-prefix=CHECK-BITCODE-TIMESTAMP-OFF %s 31 // CHECK-BITCODE-TIMESTAMP-ON: <INPUT_FILE abbrevid={{.*}} op0={{.*}} op1={{.*}} op2={{[^0]}} 32 // CHECK-BITCODE-TIMESTAMP-OFF: <INPUT_FILE abbrevid={{.*}} op0={{.*}} op1={{.*}} op2={{[0]}} [all …]
|
/llvm-project/clang/test/Modules/ |
H A D | fmodules-validate-once-per-build-session.c | 20 …ly -isystem %t/Inputs -fmodules-validate-system-headers -fbuild-session-timestamp=1390000000 -fmod… 21 …tax-only -I %t/Inputs -fmodules-validate-system-headers -fbuild-session-timestamp=1390000000 -fmod… 22 // RUN: ls -R %t/modules-cache | grep Foo.pcm.timestamp 23 // RUN: ls -R %t/modules-cache | grep Bar.pcm.timestamp 24 // RUN: ls -R %t/modules-cache-user | grep Foo.pcm.timestamp 25 // RUN: ls -R %t/modules-cache-user | grep Bar.pcm.timestamp 33 …ly -isystem %t/Inputs -fmodules-validate-system-headers -fbuild-session-timestamp=1390000000 -fmod… 34 …tax-only -I %t/Inputs -fmodules-validate-system-headers -fbuild-session-timestamp=1390000000 -fmod… 35 // RUN: ls -R %t/modules-cache | grep Foo.pcm.timestamp 36 // RUN: ls -R %t/modules-cache | grep Bar.pcm.timestamp [all …]
|
H A D | prune.m | 13 // Run Clang twice so we end up creating the timestamp file (the second time). 16 // RUN: ls %t | grep modules.timestamp 20 // Set the timestamp back more than two days. We should try to prune, 22 // RUN: touch -m -a -t 201101010000 %t/modules.timestamp 24 // RUN: ls %t | grep modules.timestamp 29 // This shouldn't prune anything, because the timestamp has been updated, so 33 // RUN: ls %t | grep modules.timestamp 37 // Set both timestamp and DependsOnModule.pcm back beyond the cutoff. 39 // RUN: touch -m -a -t 201101010000 %t/modules.timestamp 42 // RUN: ls %t | grep modules.timestamp
|
H A D | stress-objc.m | 3 // RUN: %clang_cc1 -emit-pch -x objective-c-header %s -o %t_c00.pch -fno-pch-timestamp 4 // RUN: %clang_cc1 -emit-pch -x objective-c-header %s -o %t_c00_1.pch -fno-pch-timestamp 7 // RUN: %clang_cc1 -emit-pch -x objective-c-header %s -o %t_c00_2.pch -fno-pch-timestamp 10 // RUN: %clang_cc1 -emit-pch -x objective-c-header %s -o %t_c00_3.pch -fno-pch-timestamp 13 // RUN: %clang_cc1 -emit-pch -x objective-c-header %s -o %t_c00_4.pch -fno-pch-timestamp 16 // RUN: %clang_cc1 -emit-pch -x objective-c-header %s -o %t_c00_5.pch -fno-pch-timestamp
|
H A D | timestamps.c | 9 // RUN: FileCheck %s --check-prefix=CHECK --check-prefix=TIMESTAMP --input-file %t1.dump 12 // RUN: -fmodules-cache-path=%t -I %S/Inputs -fno-pch-timestamp %s 21 // TIMESTAMP-NOT: op2=0 26 // TIMESTAMP-NOT: op2=0
|
/llvm-project/llvm/tools/dsymutil/ |
H A D | BinaryHolder.cpp | 50 TimestampTy Timestamp, Options Opts) { in load() 94 StringRef Filename, TimestampTy Timestamp, in load() 103 if (Opts.Warn && Filename != "-" && Timestamp != sys::TimePoint<>()) { in load() 107 if (Timestamp != std::chrono::time_point_cast<std::chrono::seconds>( in load() 110 << ": timestamp mismatch between object file (" in load() 112 << ") and debug map (" << Timestamp << ")\n"; in load() 170 TimestampTy Timestamp, in getObjectEntry() 175 KeyTy Key = {ObjectFilename, Timestamp}; in getObjectEntry() 196 if (Timestamp != sys::TimePoint<>() && in getObjectEntry() 197 Timestamp ! in getObjectEntry() 46 load(IntrusiveRefCntPtr<vfs::FileSystem> VFS,StringRef Filename,TimestampTy Timestamp,bool Verbose) load() argument 90 load(IntrusiveRefCntPtr<vfs::FileSystem> VFS,StringRef Filename,TimestampTy Timestamp,bool Verbose) load() argument 166 getObjectEntry(StringRef Filename,TimestampTy Timestamp,bool Verbose) getObjectEntry() argument 232 getObjectEntry(StringRef Filename,TimestampTy Timestamp) getObjectEntry() argument [all...] |
H A D | BinaryHolder.h | 68 TimestampTy Timestamp, BinaryHolder::Options = {}); 111 TimestampTy Timestamp; 114 KeyTy(StringRef Filename, TimestampTy Timestamp) 115 : Filename(Filename.str()), Timestamp(Timestamp) {} 120 TimestampTy Timestamp, BinaryHolder::Options = {}); 123 TimestampTy Timestamp, 133 getObjectEntry(StringRef Filename, TimestampTy Timestamp = TimestampTy()); 172 K.Timestamp.time_since_epoch().count())); 177 return LHS.Filename == RHS.Filename && LHS.Timestamp 104 TimestampTy Timestamp; global() member [all...] |
H A D | DebugMap.cpp | 41 sys::TimePoint<std::chrono::seconds> Timestamp, in DebugMapObject() argument 43 : Filename(std::string(ObjectFilename)), Timestamp(Timestamp), Type(Type) {} in DebugMapObject() 95 sys::TimePoint<std::chrono::seconds> Timestamp, in addDebugMapObject() argument 97 Objects.emplace_back(new DebugMapObject(ObjectFilePath, Timestamp, Type)); in addDebugMapObject() 164 YamlDMO(IO &io) { Timestamp = 0; } 169 int64_t Timestamp; 185 io.mapOptional("timestamp", Norm->Timestamp); in mapping() 238 Timestamp in YamlDMO() 168 int64_t Timestamp; global() member [all...] |
/llvm-project/lld/test/COFF/ |
H A D | timestamp.test | 5 RUN: lld-link %t.obj /debug /timestamp:0 /entry:main /nodefaultlib /out:%t.3.exe 8 RUN: lld-link %t.obj /debug /timestamp:2147483647 /entry:main /nodefaultlib /out:%t.5.exe 10 # Test that the command line option /timestamp has precedence over SOURCE_DATE_EPOCH 11 RUN: env SOURCE_DATE_EPOCH=12345 lld-link %t.obj /debug /timestamp:0 /entry:main /nodefaultlib /out… 13 RUN: lld-link %t.obj /debug /timestamp:4294967295 /entry:main /nodefaultlib /out:%t.8.exe 15 # Test that setting UINT32_MAX+1 as timestamp fails. 16 RUN: env LLD_IN_TEST=1 not lld-link %t.obj /debug /timestamp:4294967296 /entry:main /nodefaultlib /… 44 ERROR: error: invalid timestamp: 4294967296. Expected 32-bit integer 45 ERROR2: error: invalid SOURCE_DATE_EPOCH timestamp: 4294967296. Expected 32-bit integer
|
/llvm-project/llvm/test/CodeGen/PowerPC/ |
H A D | aix-static-init-no-unique-module-id.ll | 10 ; Use the Pid, threadId, and timestamp to generate a unique module id when strong external 18 ; CHECK-NEXT: __sinit80000000_clangPidTidTime_[[PID:[0-9]+]]_[[TID:[0-9]+]]_[[TIMESTAMP:[0-9]+]]_0: 20 ; CHECK-NEXT: .__sinit80000000_clangPidTidTime_[[PID]]_[[TID]]_[[TIMESTAMP]]_0: 21 ; CHECK: .globl __sinit80000000_clangPidTidTime_[[PID]]_[[TID]]_[[TIMESTAMP]]_0 22 ; CHECK: .globl .__sinit80000000_clangPidTidTime_[[PID]]_[[TID]]_[[TIMESTAMP]]_0
|
/llvm-project/clang/test/Driver/ |
H A D | modules.m | 13 // RUN: %clang -fmodules -fbuild-session-timestamp=1280703457 -### %s 2>&1 | FileCheck -check-prefi… 14 // TIMESTAMP_ONLY: -fbuild-session-timestamp=128{{([[:digit:]]{7})[^[:digit:]]}} 16 // RUN: not %clang -fmodules -fbuild-session-file=%t.build-session-file -fbuild-session-timestamp=1… 17 …ument '-fbuild-session-file={{.*}}.build-session-file' not allowed with '-fbuild-session-timestamp' 19 // RUN: %clang -fmodules -fbuild-session-timestamp=123 -fmodules-validate-once-per-build-session -#… 20 // MODULES_VALIDATE_ONCE: -fbuild-session-timestamp=123 24 // MODULES_VALIDATE_ONCE_FILE: -fbuild-session-timestamp=128{{([[:digit:]]{7})[^[:digit:]]}} 28 …n '-fmodules-validate-once-per-build-session' requires '-fbuild-session-timestamp=<seconds since E… 89 // RUN: %clang -fno-modules -fbuild-session-timestamp=123 -### %s 2>&1 | FileCheck -check-prefix=SE… 90 // SESSION_FLAG-NOT: -fbuild-session-timestamp
|
/llvm-project/clang/test/Preprocessor/ |
H A D | SOURCE_DATE_EPOCH.c | 5 // 19700101-NEXT: const char timestamp[] = "Thu Jan 1 00:00:00 1970"; 12 // Y2038-NEXT: const char timestamp[] = "Tue Jan 19 03:14:07 2038"; 14 /// Test a large timestamp if the system uses 64-bit time_t and known to support large timestamps. 20 // 99991231-NEXT: const char timestamp[] = "Fri Dec 31 23:59:59 9999"; 32 const char timestamp[] = __TIMESTAMP__; variable
|
/llvm-project/clang-tools-extra/clang-tidy/ |
H A D | ClangTidyProfiling.cpp | 24 : Timestamp(std::chrono::system_clock::now()), SourceFilename(SourceFile) { in StorageParams() 27 llvm::format_provider<decltype(Timestamp)>::format(Timestamp, OS, in StorageParams() 33 // So the full output name is: /ProfilePrefix/timestamp-inputfilename.json in StorageParams() 49 OS << R"("timestamp": ")" << Storage->Timestamp << "\",\n"; in printAsJSON()
|
/llvm-project/llvm/test/ObjectYAML/MachO/ |
H A D | dylib_dylinker_command.yaml | 23 timestamp: 2 32 timestamp: 2 49 #CHECK: timestamp: 2 58 #CHECK: timestamp: 2
|
/llvm-project/clang/test/InstallAPI/ |
H A D | reexported-frameworks.test | 189 timestamp: 0 210 timestamp: 0 219 timestamp: 0 228 timestamp: 0 237 timestamp: 0 246 timestamp: 0 255 timestamp: 0 264 timestamp: 0 469 timestamp: 0 490 timestamp: 0
|
/llvm-project/llvm/test/tools/llvm-cvtres/ |
H A D | timestamp.test | 1 RUN: llvm-cvtres /timestamp:0x12345678 /out:%t %p/Inputs/test_resource.res 7 RUN: not llvm-cvtres /timestamp:0x123456789 /out:%t \ 10 ERR: invalid timestamp: 0x123456789. Expected 32-bit integer
|
/llvm-project/llvm/lib/Support/ |
H A D | CachePruning.cpp | 45 /// Write a new timestamp file with the given path. This is used for the pruning 170 // Try to stat() the timestamp file. in pruneCache() 172 sys::path::append(TimestampFile, "llvmcache.timestamp"); in pruneCache() 177 // If the timestamp file wasn't there, create one now. in pruneCache() 192 LLVM_DEBUG(dbgs() << "Timestamp file too recent (" in pruneCache() 198 // Write a new timestamp file so that nobody else attempts to prune. in pruneCache() 200 // notice at the same time that the timestamp is out-of-date. in pruneCache() 217 // includes the timestamp file as well as any files created by the user. in pruneCache() 263 // files.size() is greater the number of inputs by one. However, a timestamp in pruneCache()
|
/llvm-project/openmp/runtime/src/thirdparty/ittnotify/ |
H A D | ittnotify_static.h | 587 unsigned long long timestamp, void *value_ptr), 588 (ITT_FORMAT id, clock_domain, timestamp, value_ptr), 647 unsigned long long timestamp, __itt_id id), 648 (ITT_FORMAT domain, clock_domain, timestamp, id), id_create_ex, 652 unsigned long long timestamp, __itt_id id), 653 (ITT_FORMAT domain, clock_domain, timestamp, id), id_destroy_ex, 657 unsigned long long timestamp, __itt_id id, __itt_id parentid, 659 (ITT_FORMAT domain, clock_domain, timestamp, id, parentid, name), 663 unsigned long long timestamp, __itt_id id, __itt_id parentid, 665 (ITT_FORMAT domain, clock_domain, timestamp, id, parentid, fn), [all …]
|
/llvm-project/llvm/test/ThinLTO/X86/ |
H A D | cache.ll | 14 ; RUN: ls %t.cache.noindex/llvmcache.timestamp 37 ; RUN: ls %t.cache.noindex/llvmcache.timestamp 51 ; Verify that caches with a timestamp older than the pruning interval 55 ; RUN: touch -t 197001011200 %t.cache.noindex/llvmcache.timestamp 63 ; RUN: touch -t 197001011200 %t.cache.noindex/llvmcache.timestamp 69 ; llvmcache.timestamp is current, 73 ; RUN: touch %t.cache.noindex/llvmcache.timestamp 80 ; llvmcache.timestamp is current, 84 ; RUN: touch %t.cache.noindex/llvmcache.timestamp
|
/llvm-project/clang-tools-extra/clangd/support/ |
H A D | Trace.cpp | 80 uint64_t TID = llvm::get_threadid(), double Timestamp = 0) { in jsonEvent() argument 81 Contents["ts"] = Timestamp ? Timestamp : timestamp(); in jsonEvent() 91 : StartTime(Tracer->timestamp()), EndTime(0), Name(Name), in JSONSpan() 127 // Finally, record the event (ending at EndTime, not timestamp())! in ~JSONSpan() 136 void markEnded() { EndTime = Tracer->timestamp(); } in markEnded() 184 double timestamp() { in timestamp() function in clang::clangd::trace::__anondc7550a90111::JSONTracer 203 Out << "Kind,Metric,Label,Value,Timestamp\r\n"; in CSVMetricTracer()
|
/llvm-project/llvm/test/Transforms/PGOProfile/ |
H A D | timestamp.ll | 9 ; CHECK: call void @llvm.instrprof.timestamp({{.*}}) 16 ; CHECK-NOT: call void @llvm.instrprof.timestamp({{.*}}) 21 ; CHECK-LABEL: declare void @llvm.instrprof.timestamp(
|
/llvm-project/llvm/test/tools/dsymutil/X86/ |
H A D | timestamp-mismatch.test | 7 RUN: dsymutil -no-object-timestamp -oso-prepend-path=%t %t/Inputs/basic.macho.x86_64 -o %t.dSYM 2>&1 | FileCheck %s --allow-empty --check-prefix=NOWARN 10 RUN: dsymutil --linker parallel -no-object-timestamp -oso-prepend-path=%t %t/Inputs/basic.macho.x86_64 -o %t.dSYM 2>&1 | FileCheck %s --allow-empty --check-prefix=NOWARN 12 WARN: warning: {{.*}}/Inputs/basic1.macho.x86_64.o: timestamp mismatch between object file ({{.*}}) and debug map ({{.*}}) 13 WARN: warning: {{.*}}/Inputs/basic2.macho.x86_64.o: timestamp mismatch between object file ({{.*}}) and debug map ({{.*}}) 14 WARN: warning: {{.*}}/Inputs/basic3.macho.x86_64.o: timestamp mismatch between object file ({{.*}}) and debug map ({{.*}}) 16 NOWARN-NOT: warning: {{.*}}/Inputs/basic3.macho.x86_64.o: timestamp mismatch between object file ({{.*}}) and debug map ({{.*}})
|
/llvm-project/llvm/tools/llvm-cvtres/ |
H A D | Opts.td | 18 def TIMESTAMP : Joined<["/", "-"], "TIMESTAMP:">, 19 HelpText<"Timestamp for coff header, defaults to current time">;
|
/llvm-project/llvm/test/tools/llvm-lipo/Inputs/ |
H A D | armv7-slice-big.yaml | 291 timestamp: 2 300 timestamp: 2 309 timestamp: 2 318 timestamp: 2 327 timestamp: 2 336 timestamp: 2 345 timestamp: 2 354 timestamp: 2 363 timestamp: 2
|