[source-code-locations] - added options to show, obfuscate, and hide source code locations (#5412)

This commit is contained in:
Hayden Gray
2025-06-26 16:43:44 -04:00
committed by GitHub
parent 22a48d4d9c
commit f72b2b1530
5 changed files with 107 additions and 12 deletions
+8 -1
View File
@@ -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;