mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-22 21:54:59 -07:00
[source-code-locations] - added options to show, obfuscate, and hide source code locations (#5412)
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user