mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-03-25 01:08:42 +00:00
NFC: use enum SymbolData as flags
To make it easier to add flags when adding new options in SymbolData. Example: I want to add a flag to disable inline record for https://chromium-review.googlesource.com/c/breakpad/breakpad/+/2915828. Change-Id: Ifc5da27c01efa0b0bc21cfcf769d4e6d604a63c6 Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/2984198 Reviewed-by: Joshua Peraza <jperaza@chromium.org>
This commit is contained in:
@@ -127,7 +127,8 @@ int main(int argc, char** argv) {
|
||||
return 1;
|
||||
}
|
||||
} else {
|
||||
SymbolData symbol_data = cfi ? ALL_SYMBOL_DATA : NO_CFI;
|
||||
SymbolData symbol_data =
|
||||
INLINES | (cfi ? CFI : NO_DATA) | SYMBOLS_AND_FILES;
|
||||
google_breakpad::DumpOptions options(symbol_data, handle_inter_cu_refs);
|
||||
if (!WriteSymbolFile(binary, obj_name, obj_os, debug_dirs, options,
|
||||
std::cout)) {
|
||||
|
||||
Reference in New Issue
Block a user