Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [llvm-readobj] Change -long-option to --long-option in tests. NFC | Fangrui Song | 2019-05-01 | 1 | -1/+1 |
| | | | | | | | | | | We use both -long-option and --long-option in tests. Switch to --long-option for consistency. In the "llvm-readelf" mode, -long-option is discouraged as it conflicts with grouped short options and it is not accepted by GNU readelf. While updating the tests, change llvm-readobj -s to llvm-readobj -S to reduce confusion ("s" is --section-headers in llvm-readobj but --symbols in llvm-readelf). llvm-svn: 359649 | ||||
* | Check that COFF .obj files have sections with zero virtual address spaces. | Rafael Espindola | 2015-07-06 | 1 | -0/+13 |
When talking about the virtual address of sections the coff spec says: ... for simplicity, compilers should set this to zero. Otherwise, it is an arbitrary value that is subtracted from offsets during relocation. We don't currently subtract it, so check that it is zero. If some producer does create such files, we can change getRelocationOffset instead. llvm-svn: 241447 |