diff options
| author | Hayden Gray <35206453+A1029384756@users.noreply.github.com> | 2025-06-26 16:43:44 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-26 22:43:44 +0200 |
| commit | f72b2b153057e1d629c85af2ea7c54f7928198d5 (patch) | |
| tree | be8f9648adf737cc7d9aadef48c3a03a17f7634c /src/build_settings.cpp | |
| parent | 22a48d4d9c626419f93212d317ba94d7608f02c3 (diff) | |
[source-code-locations] - added options to show, obfuscate, and hide source code locations (#5412)
Diffstat (limited to 'src/build_settings.cpp')
| -rw-r--r-- | src/build_settings.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/build_settings.cpp b/src/build_settings.cpp index 05709902a..ebe57bf1e 100644 --- a/src/build_settings.cpp +++ b/src/build_settings.cpp @@ -385,6 +385,13 @@ enum LinkerChoice : i32 { Linker_COUNT, }; +enum SourceCodeLocationInfo : u8 { + SourceCodeLocationInfo_Normal = 0, + SourceCodeLocationInfo_Obfuscated = 1, + SourceCodeLocationInfo_Filename = 2, + SourceCodeLocationInfo_None = 3, +}; + String linker_choices[Linker_COUNT] = { str_lit("default"), str_lit("lld"), @@ -512,7 +519,7 @@ struct BuildContext { bool dynamic_map_calls; - bool obfuscate_source_code_locations; + SourceCodeLocationInfo source_code_location_info; bool min_link_libs; |