Skip to content
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

Mach-O build version #95

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Oct 4, 2024

  1. Don't assume pragma directives are a single word

    pragma->tail is described as "anything after the operation", but
    existing parsing passed just the first whitespace-delimited
    word. Change the parsing to just strip leading and trailing
    white space off the rest of the line, but keep interior spaces
    if there are any.
    
    This is preparation for a build_version pragma for Mach-O matching
    the llvm-as .build_version syntax.
    
    Signed-off-by: Fabian Giesen <fabian.giesen@epicgames.com>
    Fabian Giesen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    922206c View commit details
    Browse the repository at this point in the history
  2. build_version pragma + macro for Mach-O

    Matches the llvm-as .build_version syntax. Newer MacOS linker
    complains when object files don't contain a LC_BUILD_VERSION.
    
    Signed-off-by: Fabian Giesen <fabian.giesen@epicgames.com>
    Fabian Giesen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    c003420 View commit details
    Browse the repository at this point in the history
  3. Document Mach-O build_version directive

    Signed-off-by: Fabian Giesen <fabian.giesen@epicgames.com>
    Fabian Giesen committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    d060f51 View commit details
    Browse the repository at this point in the history