[Lldb-commits] [lldb] cd2e66e - [lldb][gmodules] Fix TestDataFormatterGlobals under gmodules

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 2 02:14:27 PDT 2021


Author: Raphael Isemann
Date: 2021-11-02T10:14:11+01:00
New Revision: cd2e66efa65fd63cf6f48112f49c09489a1baac0

URL: https://github.com/llvm/llvm-project/commit/cd2e66efa65fd63cf6f48112f49c09489a1baac0
DIFF: https://github.com/llvm/llvm-project/commit/cd2e66efa65fd63cf6f48112f49c09489a1baac0.diff

LOG: [lldb][gmodules] Fix TestDataFormatterGlobals under gmodules

Same reason as in 548dbfaf447cc5fdfc26d34e60e3da08eb609531 -> macOS has a
struct called 'Point' in the libc module. Just remove the redundant includes
here.

Added: 
    

Modified: 
    lldb/test/API/functionalities/data-formatter/data-formatter-globals/main.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/functionalities/data-formatter/data-formatter-globals/main.cpp b/lldb/test/API/functionalities/data-formatter/data-formatter-globals/main.cpp
index 4e4baeda5ff8f..570c21779674d 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-globals/main.cpp
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-globals/main.cpp
@@ -1,7 +1,3 @@
-#include <stdio.h>
-#include <stdlib.h>
-#include <stdint.h>
-
 struct Point {
     int x;
     int y;


        


More information about the lldb-commits mailing list