This is an archive of the discontinued LLVM Phabricator instance.

[libcxxabi] [test] Don't cast a pointer to long, fixing the test on Windows
ClosedPublic

Authored by mstorsjo on Apr 5 2023, 10:03 AM.

Details

Summary

Use uintptr_t instead. On Windows, long is 32 bit even on 64 bit
architectures.

Diff Detail

Event Timeline

mstorsjo created this revision.Apr 5 2023, 10:03 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 5 2023, 10:03 AM
mstorsjo requested review of this revision.Apr 5 2023, 10:03 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 5 2023, 10:03 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
EricWF accepted this revision.Apr 11 2023, 12:38 PM
This revision is now accepted and ready to land.Apr 11 2023, 12:38 PM
This revision was landed with ongoing or failed builds.Apr 12 2023, 12:18 AM
This revision was automatically updated to reflect the committed changes.