Skip to content

Once we've found a firmware binary and loaded it, don't search more #1872

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

jasonmolenda
Copy link

Once we've found a firmware binary and loaded it, don't search more

Add the flag in ProcessMachCore::DoLoadCore that stops additional
searches for the binaries when we have an LC_NOTE identifying the
firmware/standalone binary as the correct one & we have loaded it
successfully.

(cherry picked from commit 6e54918)

Add the flag in ProcessMachCore::DoLoadCore that stops additional
searches for the binaries when we have an LC_NOTE identifying the
firmware/standalone binary as the correct one & we have loaded it
successfully.

(cherry picked from commit 6e54918)
@jasonmolenda
Copy link
Author

@swift-ci please test

@jasonmolenda jasonmolenda merged commit 8994b1f into swiftlang:apple/stable/20200714 Sep 28, 2020
@jasonmolenda jasonmolenda deleted the stop-searching-for-corefile-binary-after-main-bin-spec branch September 28, 2020 23:56
ainu-bot added a commit to dabrahams/llvm-project that referenced this pull request Oct 1, 2020
…ft/tensorflow-stage

* 'swift/master' of github.com:apple/llvm-project: (26 commits)
  [Swift] Update for GenericParamList.h
  [LLVM 11] Add SystemZ changes to release notes
  [clang] Update warning-wall.c test
  [clang] Selectively ena/disa-ble format-insufficient-args warning
  Once we've found a firmware binary and loaded it, don't search more (swiftlang#1872)
  Add missing NodeType enums
  [ubsan] nullability-arg: Fix crash on C++ member pointers
  Fix DISubprogram-v4.ll after e17f52d
  Fix mysterious failure of SupportTests FileCheckTest.Binop
  [LLVM-C] Turn a ShuffleVector Constant Into a Getter.
  C API: functions to get mask of a ShuffleVector
  [CodeGen] Do not call `emitGlobalConstantLargeInt` for constant requires 8 bytes to store
  AArch64/GlobalISel: Narrow stack passed argument access size
  Add support for firmware/standalone LC_NOTE "main bin spec" corefiles (swiftlang#1864)
  [clang][module] Improve incomplete-umbrella warning
  [LLDB] Add a defensive check for member__f_
  Add a verifier check that rejects non-distinct DISubprogram function attachments. They would crash the backend, which expects all DISubprograms that are not part of the type system to have a unit field.
  Revert "Add a verifier check that rejects non-distinct DISubprogram function"
  Fix Assembler/disubprogram.ll after e17f52d
  [profile] Add %t LLVM_PROFILE_FILE option to substitute $TMPDIR
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant