This is for coding standard conformance, and for fixing an ODR violation
issue: __xray::ThreadLocalData is defined twice and differently in
xray_fdr_logging.cc and xray_basic_logging.cc
Details
Details
- Reviewers
dberris mboerger eizan - Commits
- rG58f209f5d772: [XRay] Guard local variables with `static` and struct with unnamed namespaces
rCRT343289: [XRay] Guard local variables with `static` and struct with unnamed namespaces
rL343289: [XRay] Guard local variables with `static` and struct with unnamed namespaces
Diff Detail
Diff Detail
- Repository
- rCRT Compiler Runtime
- Build Status
Buildable 23229 Build 23228: arc lint + arc unit
Event Timeline
Comment Actions
I'm not sure if ODRHash or other tools can catch this... This may not matter too much for a trivial type like this.. If it were virtual or had constructors, the linker would error.