diff options
| author | Wael Yehia <wyehia@ca.ibm.com> | 2023-09-06 19:01:41 -0400 |
|---|---|---|
| committer | Wael Yehia <wyehia@ca.ibm.com> | 2023-09-07 17:46:41 +0000 |
| commit | 11d5c7bd289cb3a3bb326871ae8f37dafa49ed43 (patch) | |
| tree | c5167512d0a9ae280c062210e033e42d93c6878e /flang/lib/Frontend/CompilerInvocation.cpp | |
| parent | 99e70cc3a56b02ba556270fa205c04ca77de6444 (diff) | |
| download | llvm-11d5c7bd289cb3a3bb326871ae8f37dafa49ed43.zip llvm-11d5c7bd289cb3a3bb326871ae8f37dafa49ed43.tar.gz llvm-11d5c7bd289cb3a3bb326871ae8f37dafa49ed43.tar.bz2 | |
[AIX] Add threadId and use nanosecond timestamp in sinit/sterm symbols
With ThinLTO, when compiling SPEC 2017 omnetpp_r with -threads=4, two
small modules can end up with the same timestamp in their sinit symbols
when calculating time in seconds, creating duplicate definitions.
This patch uses a timestamp in nanoseconds.
Because the race can be between threads, embed the thread ID as well.
Reviewed By: xingxue, daltenty
Differential Revision: https://reviews.llvm.org/D159319
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
