message: use RunTimeEndian to simplify code
diff: @@ -225,7 +225,7 @@ fn get_addresses_from_program<R, Offset>(prog: IncompleteLineNumberProgram<R>,
  Ok(result)
  }
  -fn get_line_addresses<Endian: Endianity>(endian: Endian,
  +fn get_line_addresses(endian: RunTimeEndian,
  project: &Path,
  obj: &OFile,
  analysis: &HashMap<PathBuf, LineAnalysis>,
  @@ -331,20 +331,17 @@ pub fn generate_tracer_data(project: &Workspace, test: &Path, config: &Config) -
  let file = Mmap::open(&file, Protection::Read)?;
  if let Ok(obj) = OFile::parse(unsafe {file.as_slice() }) {
  let analysis = get_line_analysis(project, config);
  - let data = if obj.is_little_endian() {
  - get_line_addresses(LittleEndian,
  - manifest,
  - &obj,
  - &analysis,
  - config.ignore_tests)
  + let endian = if obj.is_little_endian() {
  + RunTimeEndian::Little
  } else {
  - get_line_addresses(BigEndian,
  + RunTimeEndian::Big
  + };
  + get_line_addresses(endian,
  manifest,
  &obj,
  &analysis,
  config.ignore_tests)
  - };
  - data.map_err(|_| io::Error::new(io::ErrorKind::InvalidData, "Error while parsing"))
  + .map_err(|_| io::Error::new(io::ErrorKind::InvalidData, "Error while parsing"))
  } else {
  Err(io::Error::new(io::ErrorKind::InvalidData, "Unable to parse binary."))
  }
  