Returns the minimum symbol alignment for this ISA.
(&self)
| 452 | |
| 453 | /// Returns the minimum symbol alignment for this ISA. |
| 454 | pub fn symbol_alignment(&self) -> u64 { |
| 455 | match self.triple().architecture { |
| 456 | // All symbols need to be aligned to at least 2 on s390x. |
| 457 | Architecture::S390x => 2, |
| 458 | _ => 1, |
| 459 | } |
| 460 | } |
| 461 | |
| 462 | /// Get the pointer type of this ISA. |
| 463 | pub fn pointer_type(&self) -> ir::Type { |
no test coverage detected