This patch enable profile test for supported options on AIX.
Details
- Reviewers
Whitney w2yehia - Group Reviewers
Restricted Project - Commits
- rG666accf28331: [compiler-rt][profile] Enable profile tests for AIX
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
compiler-rt/test/profile/instrprof-set-dir-mode.c | ||
---|---|---|
37 | I'm wondering if this can break other platforms. Is it guaranteed (by some standard) that the high order 16-bits are never used by st_mode? | |
compiler-rt/test/profile/lit.cfg.py | ||
63 | filename wud not be unique, why not stove source_path instead? |
compiler-rt/test/profile/lit.cfg.py | ||
---|---|---|
63 | We can NOT use source_path. excludes are designed to be filename. # Search subdirectories. for filename in os.listdir(source_path): if ... filename in lc.excludes: continue |
I'm wondering if this can break other platforms. Is it guaranteed (by some standard) that the high order 16-bits are never used by st_mode?
If S_IFDIR has 1s in the high order 16 bits, then Mode has ones there as well; ~umask will have 1s in the high order 16 bits. So masking with 0xFFFF wud not be correct in that case.